Sha256: 6e602cd59f85119a74889b87af5fd51514161c45ff0ae27360d4c1ffc5bd9c44

Contents?: true

Size: 1.15 KB

Versions: 12

Compression:

Stored size: 1.15 KB

Contents

%table{ class: 'records search_combinations' }
  %thead
    %tr
      %th.combined_search_operator
      %th.combined_search
        Searches
      %th.remove
      %th
  %tbody.nested_records_search_combinations
    - if combined_searches_options(@discerner_search).blank?
      %td{colspan: '4'}
        No qualifying searches found
    - else
      - @discernerSearchCombinationsTemplate = discerner_generate_nested_attributes_template(f, :search_combinations, 'search_combination')
      = f.fields_for :search_combinations, f.object.search_combinations.ordered_by_display_order do |search_combination|
        = render partial: 'search_combination_fields', locals: { f: search_combination }

      %tfoot
        %tr
          %td{ colspan: '4', class: 'add_search_combinations_link' }
            = discerner_link_to_add_fields "Add search", :search_combinations
.clear

:javascript
  $(function () {
    var discernerSearchCombinationsTemplate = '#{@discernerSearchCombinationsTemplate}';
    if (discernerSearchCombinationsTemplate) {
      new Discerner.SearchCombination.UI({
        searchCombinationsTemplate: discernerSearchCombinationsTemplate
      })
    }
  });

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
discerner-2.0.16 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.15 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.14 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.13 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.12 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.11 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.10 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.9 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.8 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.7 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.6 app/views/discerner/searches/_form_combined_searches.html.haml
discerner-2.0.5 app/views/discerner/searches/_form_combined_searches.html.haml