Sha256: 11ab1e0ce2726a747f94103336e1a23d846b4b55f62f8e9e47f5e60614a24cfa

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

<%= input_block :label => t('txt.views.search_results.for'), :id => 't' do %>
  <select name="t" id="t" class="search_type">
    <%= options_for_select(Iqvoc.searchable_class_names.map { |klass, identifier|
        [klass.constantize.model_name.human(:count => 2), identifier]
      }, params[:t]) %>
  </select>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc-4.3.3 app/views/search_results/sections/_klass.html.erb
iqvoc-4.3.2 app/views/search_results/sections/_klass.html.erb
iqvoc-4.3.1 app/views/search_results/sections/_klass.html.erb
iqvoc-4.3.0 app/views/search_results/sections/_klass.html.erb