about summary refs log tree commit diff
path: root/app/views/filters/_keyword_fields.html.haml
blob: eedd514ef5277bf036e193cf05b164775d28c8f6 (plain) (blame)
1
2
3
4
5
6
7
8
%tr.nested-fields
  %td= f.input :keyword, as: :string
  %td
    .label_input__wrapper= f.input_field :whole_word
  %td
    = f.hidden_field :id if f.object&.persisted? # Required so Rails doesn't put the field outside of the <tr/>
    = link_to_remove_association(f, class: 'table-action-link') do
      = safe_join([fa_icon('times'), t('filters.index.delete')])