Sha256: fafd0ac3d959d3824f063c5cfae9e32f8bff4dd9b3c1086c788866f15b48c6ef

Contents?: true

Size: 798 Bytes

Versions: 5

Compression:

Stored size: 798 Bytes

Contents

<% if @datasets.any? %>
  <div class="form-group">
    <%= label_tag 'ds', t('txt.views.search_results.datasets'), :class => 'col-sm-2 control-label' %>
    <div class="checkbox-controls col-sm-4">
      <% @datasets.each do |dataset| %>
        <label class="checkbox-inline">
          <%= check_box_tag "ds[]", dataset.name, search_dataset_selected?(dataset.name) %><%= dataset.name %>
        </label>
      <% end %>
      <div class="btn-group btn-group-xs">
        <button type="button" class="btn btn-default checkbox-select-all">
          <%= t('txt.views.search_results.all') %>
        </button>
        <button type="button" class="btn btn-default checkbox-select-none">
          <%= t('txt.views.search_results.none') %>
        </button>
      </div>
    </div>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iqvoc-4.11.1 app/views/search_results/sections/_datasets.html.erb
iqvoc-4.11.0 app/views/search_results/sections/_datasets.html.erb
iqvoc-4.10.0 app/views/search_results/sections/_datasets.html.erb
iqvoc-4.9.0 app/views/search_results/sections/_datasets.html.erb
iqvoc-4.8.2 app/views/search_results/sections/_datasets.html.erb