2021-02-21 13:50:12 -05:00
|
|
|
.announcements-list__item
|
|
|
|
= link_to edit_admin_rule_path(rule), class: 'announcements-list__item__title' do
|
2023-10-25 08:01:00 -04:00
|
|
|
#{rule_counter + 1}.
|
2021-02-21 13:50:12 -05:00
|
|
|
= truncate(rule.text)
|
|
|
|
|
|
|
|
.announcements-list__item__action-bar
|
|
|
|
.announcements-list__item__meta
|
|
|
|
= rule.text
|
|
|
|
|
|
|
|
%div
|
|
|
|
= table_link_to 'trash', t('admin.rules.delete'), admin_rule_path(rule), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') } if can?(:destroy, rule)
|