gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/views/admin/roles/edit.html.haml

9 lines
373 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'