Use material symbols in table link helper (#31359)
This commit is contained in:
parent
c75f7262ed
commit
71405eabfc
25 changed files with 47 additions and 36 deletions
|
|
@ -27,4 +27,4 @@
|
|||
·
|
||||
%abbr{ title: role.permissions_as_keys.map { |privilege| I18n.t("admin.roles.privileges.#{privilege}") }.join(', ') }= t('admin.roles.permissions_count', count: role.permissions_as_keys.size)
|
||||
%div
|
||||
= table_link_to 'pencil', t('admin.accounts.edit'), edit_admin_role_path(role) if can?(:update, role)
|
||||
= table_link_to 'edit', t('admin.accounts.edit'), edit_admin_role_path(role) if can?(:update, role)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue