2017-10-15 11:17:33 +03:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('settings.keyword_mutes')
|
2017-10-15 12:51:42 +03:00
|
|
|
|
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2017-10-20 23:12:45 +03:00
|
|
|
%th= t('keyword_mutes.keyword')
|
|
|
|
%th= t('keyword_mutes.match_whole_word')
|
2017-10-15 12:51:42 +03:00
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
2017-10-25 02:40:28 +03:00
|
|
|
= render partial: 'keyword_mute', collection: @keyword_mutes, as: :keyword_mute
|
2017-10-15 12:51:42 +03:00
|
|
|
|
|
|
|
= paginate @keyword_mutes
|
2017-10-20 23:12:45 +03: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') }
|