Sha256: 455490aed00d90af61ce281f6560eb37db0bfd1805dc209c860d1d59e5ada3bc

Contents?: true

Size: 829 Bytes

Versions: 14

Compression:

Stored size: 829 Bytes

Contents

<div class="form-group">
  <%= label_tag nil, t('txt.views.search_results.for'), :class => 'col-sm-2 control-label' %>
  <div class="col-sm-4">
    <div class="radio">
      <label for="for_concept">
        <%= radio_button_tag 'for', 'concept', params[:for] == "concept" %> <%= Iqvoc::Concept.base_class.model_name.human(:count => 2) %>
      </label>
    </div>

    <div class="radio">
      <label for="for_collection">
        <%= radio_button_tag 'for', 'collection', params[:for] == "collection" %> <%= Iqvoc::Collection.base_class.model_name.human(:count => 2) %>
      </label>
    </div>

    <div class="radio">
      <label for="for_all">
        <%= radio_button_tag 'for', 'all', !%w(concept collection).include?(params[:for]) %> <%= t("txt.views.search_results.all") %>
      </label>
    </div>
  </div>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
iqvoc-4.11.1 app/views/search_results/sections/_type.html.erb
iqvoc-4.11.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.10.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.9.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.8.2 app/views/search_results/sections/_type.html.erb
iqvoc-4.8.1 app/views/search_results/sections/_type.html.erb
iqvoc-4.8.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.7.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.6.1 app/views/search_results/sections/_type.html.erb
iqvoc-4.5.2 app/views/search_results/sections/_type.html.erb
iqvoc-4.6.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.5.1 app/views/search_results/sections/_type.html.erb
iqvoc-4.5.0 app/views/search_results/sections/_type.html.erb
iqvoc-4.4.0 app/views/search_results/sections/_type.html.erb