mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 02:21:37 +01:00
11 lines
439 B
Text
11 lines
439 B
Text
.announcements-list__item
|
|
= link_to edit_admin_rule_path(rule), class: 'announcements-list__item__title' do
|
|
#{rule_counter + 1}.
|
|
= truncate(rule.text)
|
|
|
|
.announcements-list__item__action-bar
|
|
.announcements-list__item__meta
|
|
= rule.hint
|
|
|
|
%div
|
|
= table_link_to 'delete', t('admin.rules.delete'), admin_rule_path(rule), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') } if can?(:destroy, rule)
|