Sha256: 37505f47ca863e3731585640fe474a75f346b98dc3456287c27ccf236dca23ad

Contents?: true

Size: 692 Bytes

Versions: 4

Compression:

Stored size: 692 Bytes

Contents

<div id="search" class="search">
  <% form_tag catalog_index_path, :method => :get do %>
    <h2 class="search"><%= label_tag(:q, "Search ") %></h2>
    <%= text_field_tag :q, params[:q], :class => "q" %>
    <%= label_tag(:search_field, " in ") %>
    <%= select_tag(:search_field, options_for_select(search_fields, h(params[:search_field])), :title => "Targeted search options", :class=>"search_field") %>
    
    <%= search_as_hidden_fields(:omit_keys => [:q, :search_field, :qt, :page]) %>        
    
    <%= submit_tag 'search', :class=>'submit' %>
  <% end %>
  <%= link_to 'More options', params.merge(:controller=>"advanced", :action=>"index") , :class=>"advanced_search"%> 
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight_advanced_search-1.0.0pre4 lib/generators/blacklight_advanced_search/templates/_search_form.html.erb
blacklight_advanced_search-1.0.0pre3 lib/generators/blacklight_advanced_search/templates/_search_form.html.erb
blacklight_advanced_search-1.0.0pre2 lib/generators/blacklight_advanced_search/templates/_search_form.html.erb
blacklight_advanced_search-1.0.0pre1 lib/generators/blacklight_advanced_search/templates/_search_form.html.erb