Sha256: 175a454bb7e635d0fcdda7d70be596e0032973d800fe3072efb1b860c5684604

Contents?: true

Size: 881 Bytes

Versions: 6

Compression:

Stored size: 881 Bytes

Contents

<%= form_tag main_app.catalog_index_path, :method => :get, :class => "search-form" do %>
  <fieldset>
    <legend class="accessible-hidden">Search <%=t('sufia.product_name')%></legend>
    <%= label_tag :catalog_search, t('sufia.search.form.q.label'), :class => "accessible-hidden" %>
    <%= render_hash_as_hidden_fields(params_for_search().except(:q, :search_field, :qt, :page, :utf8)) %>
    <%= text_field_tag(:q, params[:q], :class => "q search-query", :id => "catalog_search",
                       :placeholder => t('sufia.search.form.q.placeholder'), :size => "30", :tabindex => "1", :type => "search") %>
                      <button type="submit" class="search-submit btn btn-primary" id="keyword-search-submit" tabindex="2">
      <i class="glyphicon glyphicon-search icon-white"></i><span class="accessible-hidden">Search</span>
    </button>
  </fieldset>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
worthwhile-0.1.2 app/views/shared/_site_search.html.erb
worthwhile-0.1.1 app/views/shared/_site_search.html.erb
worthwhile-0.1.0 app/views/shared/_site_search.html.erb
worthwhile-0.0.3 app/views/shared/_site_search.html.erb
worthwhile-0.0.2 app/views/shared/_site_search.html.erb
worthwhile-0.0.1 app/views/shared/_site_search.html.erb