mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-29 15:13:11 +01:00
Add link to /admin/roles in moderation interface when changing someone's role (#31791)
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
collection: UserRole.assignable,
|
||||
include_blank: I18n.t('admin.accounts.change_role.no_role'),
|
||||
label_method: :name,
|
||||
wrapper: :with_block_label
|
||||
wrapper: :with_block_label,
|
||||
hint: safe_join([I18n.t('simple_form.hints.user.role'), ' ', link_to(I18n.t('admin.accounts.change_role.edit_roles'), admin_roles_path)])
|
||||
|
||||
.actions
|
||||
= f.button :button,
|
||||
|
||||
Reference in New Issue
Block a user