Sha256: a65524f2b82a5ade2d7c939ebfd74af3400df4e839ab76d7bd1acff783c0126e
Contents?: true
Size: 1.33 KB
Versions: 11
Compression:
Stored size: 1.33 KB
Contents
<%= form_tag search_action_url, :method => :get, :class => 'search-query-form clearfix' do %> <%= render_hash_as_hidden_fields(search_state.params_for_search().except(:q, :search_field, :qt, :page, :utf8)) %> <% unless search_fields.empty? %> <label for="search_field" class="sr-only"><%= t('blacklight.search.form.search_field.label') %></label> <%= select_tag(:search_field, options_for_select(search_fields, h(params[:search_field])), :title => t('blacklight.search.form.search_field.title'), :class=>"search_field form-control") %> <span class="sr-only"><%= t('blacklight.search.form.search_field.post_label') %></span> <% end %> <div class="input-group search-input-group"> <label for="q" class="sr-only"><%= t('blacklight.search.form.search.label') %></label> <%= text_field_tag :q, params[:q], :placeholder => t('blacklight.search.form.search.placeholder'), :class => "search_q q form-control", :id => "q", :autofocus => should_autofocus_on_search_box?, data: { autocomplete_enabled: autocomplete_enabled?, autocomplete_path: blacklight.suggest_index_path } %> <span class="input-group-btn"> <button type="submit" class="btn btn-primary search-btn" id="search"> <span class="submit-search-text"><%=t('blacklight.search.form.submit')%></span> <span class="glyphicon glyphicon-search"></span> </button> </span> </div> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems