53 lines
940 B
JavaScript
53 lines
940 B
JavaScript
export default {
|
|
tabs: {
|
|
general: '@ui.general',
|
|
domains: '@application.tab_domains',
|
|
features: '@application.tab_features'
|
|
},
|
|
|
|
labelTemplate(field)
|
|
{
|
|
return "@application.fields." + field;
|
|
},
|
|
|
|
descriptionTemplate(field)
|
|
{
|
|
return "@application.fields." + field + "_text";
|
|
},
|
|
|
|
fields: [
|
|
{
|
|
field: 'name',
|
|
display: 'text',
|
|
label: '@ui.name',
|
|
required: true
|
|
},
|
|
{
|
|
field: 'fullName',
|
|
display: 'text'
|
|
},
|
|
{
|
|
field: 'email',
|
|
display: 'text',
|
|
required: true
|
|
},
|
|
{
|
|
field: 'imageId',
|
|
display: 'media',
|
|
type: 'image'
|
|
},
|
|
{
|
|
field: 'iconId',
|
|
display: 'media',
|
|
type: 'image'
|
|
},
|
|
{
|
|
field: 'domains',
|
|
display: 'textList',
|
|
limit: 10,
|
|
addLabel: '@application.fields.domains_add',
|
|
helpText: '@application.fields.domains_help',
|
|
tab: 'domains'
|
|
}
|
|
]
|
|
}; |