Sha256: 014a0e21b7d6675600dc122818e1fd686fdc3f00de49157462d8c017a4059278
Contents?: true
Size: 1.01 KB
Versions: 12
Compression:
Stored size: 1.01 KB
Contents
<%= form_tag( url_for({ action: 'index', options: @options.to_json, size: @size }), remote: true, method: 'get' ) do %> <%= 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') %> <%= text_field_tag( :query, params['query'], class: 'thin_border', id: "search_input_field" ) %> <%= 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: _t(:click_to_show_all), style: (params[:query].nil? ? 'display: none' : 'display: block') ) %> </div> <%= submit_tag _t(:search), name: nil, class: 'button' %> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems