Sha256: fe8537370730a797064d959172e6137c271ba9af84c830b00915741d122321f0

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

<%= form_tag search_action_url, :method => :get, :class => 'header-search-form form-inline' do %>
    <%= render_hash_as_hidden_fields(search_state.params_for_search(:search_field => default_search_field[:key]).except('q', 'qt', 'page', 'utf8', 'f', 'sort', 'mlt_id', 'coordinates', 'spatial_search_type', 'view')) %>

    <div class="input-group pull-left">
      <label for="q" class="sr-only"><%= t('blacklight.search.form.search.label') %></label>
      <%= text_field_tag :q,
                         nil,
                         placeholder: t('blacklight.search.form.search.placeholder'),
                         class: 'search_q q form-control input-sm',
                         id: 'q',
                         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 btn-xs" id="search">
                <span class="submit-search-text"><%=t('blacklight.search.form.submit')%></span>
                <span class="glyphicon glyphicon-search glyphicon-white"></span>
              </button>
      </span>

    </div>

<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.4 app/views/shared/_search_form_header.html.erb
commonwealth-vlr-engine-0.0.3 app/views/shared/_search_form_header.html.erb
commonwealth-vlr-engine-0.0.2 app/views/shared/_search_form_header.html.erb