Sha256: 096172c084b911f0228f704e3f8be8adea9bf541363b83f09a5aeac29069b953
Contents?: true
Size: 971 Bytes
Versions: 26
Compression:
Stored size: 971 Bytes
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', placeholder: _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: _t(:click_to_show_all), style: params[:query].nil? ? 'display: none' : 'display: block' %> </div> <% end %>
Version data entries
26 entries across 26 versions & 2 rubygems