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
parent c75f7262ed
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

@ -37,5 +37,5 @@
= t('filters.index.contexts', contexts: filter.context.map { |context| I18n.t("filters.contexts.#{context}") }.join(', '))
%div
= table_link_to 'pencil', t('filters.edit.title'), edit_filter_path(filter)
= table_link_to 'times', t('filters.index.delete'), filter_path(filter), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
= table_link_to 'edit', t('filters.edit.title'), edit_filter_path(filter)
= table_link_to 'close', t('filters.index.delete'), filter_path(filter), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }