You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
373 B
9 lines
373 B
- content_for :page_title do
|
|
= t('admin.roles.edit', name: @role.everyone? ? t('admin.roles.everyone') : @role.name)
|
|
|
|
- content_for :heading_actions do
|
|
= link_to t('admin.roles.delete'), admin_role_path(@role), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }, class: 'button button--destructive' if can?(:destroy, @role)
|
|
|
|
= render partial: 'form'
|
|
|