ORIENT/modules/backend/models/user/fields.yaml

64 lines
1.6 KiB
YAML
Raw Normal View History

2014-05-14 13:24:20 +00:00
# ===================================
# Field Definitions
# ===================================
fields:
is_superuser:
2015-05-21 12:54:44 +00:00
context: [create, update]
tab: backend::lang.user.permissions
label: backend::lang.user.superuser
type: switch
comment: backend::lang.user.superuser_comment
2014-05-14 13:24:20 +00:00
tabs:
2015-05-21 12:54:44 +00:00
defaultTab: backend::lang.user.account
2015-01-21 06:36:57 +00:00
fields:
2015-05-21 12:54:44 +00:00
login:
span: left
label: backend::lang.user.login
2015-01-21 06:36:57 +00:00
2015-05-21 12:54:44 +00:00
email:
span: right
label: backend::lang.user.email
send_invite:
context: create
2015-01-21 06:36:57 +00:00
type: checkbox
2015-05-21 12:54:44 +00:00
label: backend::lang.user.send_invite
comment: backend::lang.user.send_invite_comment
default: true
first_name:
span: left
label: backend::lang.user.first_name
last_name:
span: right
label: backend::lang.user.last_name
password:
type: password
span: left
label: backend::lang.user.password
password_confirmation:
type: password
span: right
label: backend::lang.user.password_confirmation
2015-01-21 06:36:57 +00:00
groups:
context: [create, update]
label: backend::lang.user.groups
commentAbove: backend::lang.user.groups_comment
type: checkboxlist
2014-05-14 13:24:20 +00:00
secondaryTabs:
2015-01-21 06:36:57 +00:00
fields:
avatar:
label: backend::lang.user.avatar
type: fileupload
mode: image
2016-02-23 05:52:23 +00:00
imageHeight: 250
imageWidth: 250
2015-05-21 12:54:44 +00:00