119 lines
3.6 KiB
YAML
Raw Normal View History

2018-10-10 00:14:58 +02:00
rows1:
type: rows
fields:
row1:
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.fullname}}'
column2:
type: column
width: 2-3
fields:
fullname:
type: text
2020-11-08 16:54:25 +01:00
required: true
2018-10-10 00:14:58 +02:00
row2:
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.email}}'
column2:
type: column
width: 2-3
fields:
email:
type: email
2020-11-08 16:54:25 +01:00
required: true
2018-10-10 00:14:58 +02:00
row3:
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.password}}'
column2:
type: column
width: 2-3
fields:
password:
type: password
placeholder: '{{user.password.type-new-password}}'
2018-10-10 00:14:58 +02:00
disabled: true
pattern: '^.{8,}$'
autocomplete: new-password
2018-10-10 00:14:58 +02:00
row4:
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.language}}'
column2:
type: column
width: 2-3
fields:
language:
type: select
2020-11-08 16:54:25 +01:00
required: true
2018-10-10 00:14:58 +02:00
translate: false
import:
2019-05-26 16:33:07 +02:00
options: 'Formwork\Admin\Translation::availableLanguages'
2018-10-10 00:14:58 +02:00
row5:
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.role}}'
column2:
type: column
width: 2-3
fields:
role:
type: select
disabled: true
import:
options: 'Formwork\Admin\Users\Users::availableRoles'
row6:
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.color-scheme}}'
column2:
type: column
width: 2-3
fields:
color-scheme:
type: togglegroup
options:
light: '{{user.color-scheme.light}}'
dark: '{{user.color-scheme.dark}}'
auto: '{{user.color-scheme.auto}}'
row7:
2018-10-10 00:14:58 +02:00
type: row
fields:
column1:
type: column
width: 1-3
label: '{{user.avatar}}'
column2:
type: column
width: 2-3
fields:
avatar:
type: file
accept: .jpg, .jpeg, .png, .gif