You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
638 B

  1. - content_for :page_title do
  2. = t('settings.keyword_mutes')
  3. .table-wrapper
  4. %table.table
  5. %thead
  6. %tr
  7. %th= t('keyword_mutes.keyword')
  8. %th= t('keyword_mutes.match_whole_word')
  9. %th
  10. %th
  11. %tbody
  12. = render partial: 'keyword_mute', collection: @keyword_mutes, as: :keyword_mute
  13. = paginate @keyword_mutes
  14. .simple_form
  15. = link_to t('keyword_mutes.add_keyword'), new_settings_keyword_mute_path, class: 'button'
  16. = 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') }