<% 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 %>