Sha256: 8cf9f3f82a9d274317bc96fae5f43ddf623ce6a725acd787931a4cdb4a021036

Contents?: true

Size: 480 Bytes

Versions: 15

Compression:

Stored size: 480 Bytes

Contents

<% if search_result_page %>
  <%= form_tag show_alchemy_page_path(search_result_page),
    method: 'get', id: options[:id], class: options[:class] do %>
    <% if options[:html5] %>
      <%= search_field_tag :query, params[:query],
        placeholder: Alchemy.t(:placeholder, scope: 'search_form') %>
    <% else %>
      <%= text_field_tag(:query, params[:query]) %>
    <% end %>
    <%= submit_tag Alchemy.t(:submit, scope: 'search_form'), name: nil %>
  <% end %>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
alchemy-pg_search-6.1.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-6.0.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-5.2.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-5.1.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-5.0.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-4.2.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-4.1.1 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-4.1.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-3.0.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-2.4.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-2.3.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-2.2.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-2.1.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-2.0.0 app/views/alchemy/search/_form.html.erb
alchemy-pg_search-1.2.0 app/views/alchemy/search/_form.html.erb