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.

11 lines
479 B

  1. .fields-group
  2. = f.input :keyword
  3. = f.check_box :whole_word
  4. = f.label :whole_word, t('keyword_mutes.match_whole_word')
  5. .actions
  6. - if f.object.persisted?
  7. = f.button :button, t('generic.save_changes'), type: :submit
  8. = link_to t('keyword_mutes.remove'), settings_keyword_mute_path(f.object), class: 'negative button', method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
  9. - else
  10. = f.button :button, t('keyword_mutes.add_keyword'), type: :submit