Sha256: cd2f70531d4f534f91e84c014a295c6d6effe20a13286d612ddcbfbb54dbab6d
Contents?: true
Size: 1004 Bytes
Versions: 10
Compression:
Stored size: 1004 Bytes
Contents
<%= search_form_for @query, url: url_for( action: 'index', options: @options.to_json, size: @size ), remote: true, html: {class: 'remote-search-form', id: nil} do |f| %> <%= hidden_field_tag("element_id", @element.blank? ? "" : @element.id) %> <%= hidden_field_tag("content_id", @content.blank? ? "" : @content.id) %> <div class="search_field"> <%= render_icon('search') %> <%= f.search_field resource_handler.search_field_name, id: 'search_input_field', placeholder: Alchemy.t(:search) %> <%= link_to '', url_for( action: 'index', element_id: @element.blank? ? '' : @element.id, content_id: @content.blank? ? '' : @content.id, options: @options.to_json, size: @size, overlay: true ), remote: true, class: 'search_field_clear', id: 'search_field_clear', title: Alchemy.t(:click_to_show_all), style: params[:q].blank? ? 'display: none' : 'display: block' %> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems