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