Sha256: 75b672b9a42dc9115d9f6f9d339a56623d52c3a6e6050e758da20a6e389e43a7
Contents?: true
Size: 995 Bytes
Versions: 15
Compression:
Stored size: 995 Bytes
Contents
<%= search_form_for @query, url: url_for( action: 'index', 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, 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
15 entries across 15 versions & 1 rubygems