-
-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathfields.yaml
More file actions
87 lines (75 loc) · 2.26 KB
/
fields.yaml
File metadata and controls
87 lines (75 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# ===================================
# Field Definitions
# ===================================
fields:
is_superuser:
context: [create, update]
tab: backend::lang.user.permissions
label: backend::lang.user.superuser
type: switch
comment: backend::lang.user.superuser_comment
tabs:
defaultTab: backend::lang.user.account
icons:
backend::lang.user.account: icon-user
backend::lang.user.groups: icon-users
backend::lang.user.permissions: icon-key
fields:
login:
span: left
label: backend::lang.user.login
email:
span: right
type: email
label: backend::lang.user.email
send_invite:
context: create
type: checkbox
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
role:
context: [create, update]
label: backend::lang.user.role_field
commentAbove: backend::lang.user.role_comment
type: radio
groups:
context: [create, update]
label: backend::lang.user.groups
commentAbove: backend::lang.user.groups_comment
type: checkboxlist
tab: backend::lang.user.groups
secondaryTabs:
fields:
btn_impersonate:
label: ''
context: [update]
type: partial
btn_unsuspend:
label: ''
context: [update]
type: partial
btn_password_restore:
label: ''
context: [update]
type: partial
avatar:
label: backend::lang.user.avatar
type: fileupload
mode: image
imageHeight: 250
imageWidth: 250