ng-admin
                                
                                 ng-admin copied to clipboard
                                
                                    ng-admin copied to clipboard
                            
                            
                            
                        Grid form
This series of patches adds support for multiple fields in a row as suggested by #448
It's using bootstrap for generating the needed layout.
A configuration example would be:
   var datosPersonales = nga.field('Datos Personales', 'fieldset').
    rows([
      // apellido y nombre
      nga.field(null, 'row')
        .fields([
          nga.field('apellido').attributes({span: 3}),
          nga.field('nombre').attributes({span: 3}),
          nga.field('grupo').attributes({span: 3}),
          nga.field('ficha').attributes({span: 2}),
          nga.field('activo').attributes({span: 1})
        ]),
      // datos de la escuela
      nga.field(null, 'row')
        .fields([
         ....
        ]),
      .....
  ])
Great!
I'm not a big fan of nga.field(null, 'row'). A row isn't a field, so you should provide a nga.row() factory instead.
Also, please update the package.json to point to your admin-config fork for the time being so that the tests have a chance to pass. By the way, you should test this.
Lastly, with every new feature comes a bit of documentation... please contribute that part, too.
Mhh the nga.row suggestion makes sense, I'll do that, same for fieldsets, those aren't fields either.
Ok I will change package.json, I haven't though about it before.
Where should I put the docs? Suggestions?
Probably in doc/Configuration-reference.md
It's an awesome work, can you help me why I got 'Unknown field type "fieldset".' error? I've changed my ng-admin as shown on your Files changed, but still got that error....
@michaelavi are you using webpack? If not you need to switch to it, as I haven't rebuilt the files on my own branch
Sorry for bumping this, but is this feature is ready to be pulled or needs more work ?
I've been using it for quite sometime, but the branch needs some cleanup and testing
@manuelnaranjo Any chance of finalizing this? Its a it of a shame that it is left so close to bring some good functionality to ng-admin @fzaninotto Can you share your opinion on what is still mising to finalize this pull request?
see my comments in the discussion
+1 for this.
I'm sorry but I don't have the time right now on fixing this for merging, maybe someone can take over? I can help out, but I can't do my self.
Took at quick look at the merge, but the gotoDetails() and gotoReference() changes make a lot of conflicts.
@michaelavi did you manage to make it work? I'm having the same issue
@fzaninotto Please merge this feature.
@thachp it is not possibile in the current state:
- 
Merge needs a review, in the meanwhile @fzaninotto added the possibility to have template on labels using a compile attribute, but this remove the class attribute. It is needed to verify if that class is required for this PR. Maybe @manuelnaranjo could have a quick look and let us know the impact 
- 
PR still need some work as per @fzaninotto previous comments (documentation and nga.row factory in the admin-config code)