Use material symbols in table link helper (#31359)
This commit is contained in:
@@ -13,6 +13,6 @@
|
||||
- if can?(:destroy, report_note)
|
||||
.report-notes__item__actions
|
||||
- if report_note.is_a?(AccountModerationNote)
|
||||
= table_link_to 'trash', t('admin.reports.notes.delete'), admin_account_moderation_note_path(report_note), method: :delete
|
||||
= table_link_to 'delete', t('admin.reports.notes.delete'), admin_account_moderation_note_path(report_note), method: :delete
|
||||
- else
|
||||
= table_link_to 'trash', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete
|
||||
= table_link_to 'delete', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete
|
||||
|
||||
Reference in New Issue
Block a user