Skip to content

Commit

Permalink
Update admin section config.
Browse files Browse the repository at this point in the history
  • Loading branch information
igor committed Apr 18, 2017
1 parent 30fbdfe commit 12d623d
Showing 1 changed file with 23 additions and 45 deletions.
68 changes: 23 additions & 45 deletions Resources/config/admin/user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,27 @@ menu:
icons:
main: bundles/darvinuser/images/admin/user_main.png
sidebar: bundles/darvinuser/images/admin/user_sidebar.png
view:
index:
action_widgets:
show_link: ~
switch_user: ~
edit_link: ~
delete_form: ~
fields:
email:
widget:
alias: email_link
enabled: ~
locked: ~
roles:
widget:
alias: user_roles
extend~index~show:
override~action_widgets:
switch_user: ~
edit_link: ~
delete_form: ~
form:
index:
fields:
Expand All @@ -27,7 +48,7 @@ form:
roles:
type: Darvin\UserBundle\Form\Type\User\RoleChoiceType
compare_strict: false
edit:
new:
fields:
enabled:
options:
Expand All @@ -38,56 +59,13 @@ form:
email: ~
plainPassword:
type: password
options:
required: false
roles:
type: Darvin\UserBundle\Form\Type\User\RoleChoiceType
options:
multiple: true
required: false
new:
extend~new~edit:
fields:
enabled:
options:
required: false
locked:
options:
required: false
email: ~
plainPassword:
type: password
roles:
type: Darvin\UserBundle\Form\Type\User\RoleChoiceType
options:
multiple: true
required: false
view:
index:
action_widgets:
show_link: ~
edit_link: ~
delete_form: ~
switch_user: ~
fields:
email:
widget:
alias: email_link
enabled: ~
locked: ~
roles:
widget:
alias: user_roles
show:
action_widgets:
edit_link: ~
delete_form: ~
switch_user: ~
fields:
email:
widget:
alias: email_link
enabled: ~
locked: ~
roles:
widget:
alias: user_roles

0 comments on commit 12d623d

Please sign in to comment.