Use material symbols in table link helper (#31359)

This commit is contained in:
Matt Jankowski 2024-08-20 07:48:15 -04:00 committed by GitHub
commit 71405eabfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 47 additions and 36 deletions

View file

@ -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)