_keyword_fields.html.haml 364 B

12345678
  1. %tr.nested-fields
  2. %td= f.input :keyword, as: :string
  3. %td
  4. .label_input__wrapper= f.input_field :whole_word
  5. %td
  6. = f.hidden_field :id if f.object&.persisted? # Required so Rails doesn't put the field outside of the <tr/>
  7. = link_to_remove_association(f, class: 'table-action-link') do
  8. = safe_join([fa_icon('times'), t('filters.index.delete')])