2017-10-15 10:17:33 +02:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('settings.keyword_mutes')
|
2017-10-15 11:51:42 +02:00
|
|
|
|
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2017-10-20 22:12:45 +02:00
|
|
|
%th= t('keyword_mutes.keyword')
|
|
|
|
%th= t('keyword_mutes.match_whole_word')
|
2017-10-15 11:51:42 +02:00
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
2017-10-25 01:40:28 +02:00
|
|
|
= render partial: 'keyword_mute', collection: @keyword_mutes, as: :keyword_mute
|
2017-10-15 11:51:42 +02:00
|
|
|
|
|
|
|
= paginate @keyword_mutes
|
2017-10-20 22:12:45 +02:00
|
|
|
.simple_form
|
|
|
|
= link_to t('keyword_mutes.add_keyword'), new_settings_keyword_mute_path, class: 'button'
|
|
|
|
= link_to t('keyword_mutes.remove_all'), destroy_all_settings_keyword_mutes_path, class: 'button negative', method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
|