gui-controller/modules/@apostrophecms/settings/index.js
jmarchel bdd410672d Adding dockerfile
Change-Id: Iaa70ed769c7d693ff5172f4fd3204677e4834a8a
2024-02-26 21:50:27 +02:00

36 lines
733 B
JavaScript

module.exports = {
options: {
subforms: {
displayname: {
fields: [ 'title' ],
reload: true
},
changePassword: {
fields: [ 'password' ]
},
fullname: {
label: 'Full Name',
fields: [ 'firstname', 'lastname' ],
preview: '{{ firstname }} {{lastname}}'
},
organization: {
label: 'Organization',
type: 'string',
fields: [ 'organization' ]
},
uuid: {
label: 'UUID',
type: 'string',
fields: [ 'uuid' ]
}
},
groups: {
account: {
label: 'Account',
subforms: [ 'displayname', 'fullname', 'changePassword', 'organization', 'uuid' ]
}
}
}
};