Sha256: f90f7ce73dda6fd0cd11e4ccb943b5369907c939de226fa75e3e9910e6064be8
Contents?: true
Size: 1.04 KB
Versions: 25
Compression:
Stored size: 1.04 KB
Contents
<%= search_form_for @query, url: url_for( action: 'index', options: options_from_params, size: @size ), remote: true, html: {class: '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"> <label> <%= render_icon('search') %> <%= f.search_field resource_handler.search_field_name, placeholder: Alchemy.t(:search), class: 'search_input_field', id: nil %> </label> <%= link_to render_icon(:times, size: 'xs'), url_for( action: 'index', element_id: @element.blank? ? '' : @element.id, content_id: @content.blank? ? '' : @content.id, options: options_from_params, size: @size, overlay: true ), remote: true, class: 'search_field_clear', title: Alchemy.t(:click_to_show_all), style: search_filter_params[:q].blank? ? 'display: none' : 'display: block' %> </div> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems