mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-14 02:42:54 +00:00
8 lines
372 B
Plaintext
8 lines
372 B
Plaintext
|
- 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'
|