Open namlook opened 10 years ago
Use Widget to do this:
_display: {
widgets: [
[{
type: 'map'
}],
[{
type: 'fieldsetsView',
fieldsets: [
{
label: ''
fields: [
{
name: 'title',
label: 'titre'
},
'species',
'gender',
'maturity'
]
},
{
'label': 'Taxonomic ranks',
fields: [
//...
]
}
]
}]
]
},
_new: {
widgets: [
[
[{
type: 'fieldForm',
name: 'title'
},{
type: 'fieldForm',
name: 'species'
}]
],
[{
type: 'fieldsetForm',
label: 'More informations',
fields: ['gender', 'maturity']
}]
[{
type: 'submitForm'
}]
]
}
or
display: {
widgets: [
[{
type: 'display-model'
},{
type: 'map-model'
}]
]
}
Using Mansory ? https://github.com/desandro/masonry