Sha256: 374d3d0cf497d48b46159dfacc67b62adaaf1453d7a2357d5c12d8ccc24b83eb
Contents?: true
Size: 981 Bytes
Versions: 4
Compression:
Stored size: 981 Bytes
Contents
<%= form_tag( url_for({ :action => (action || 'index'), :options => @options }), :remote => true, :method => :get ) do %> <%= hidden_field_tag("element_id", @element.blank? ? "" : @element.id) %> <%= hidden_field_tag("content_id", @content.blank? ? "" : @content.id) %> <%= hidden_field_tag "remote", 'true' %> <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 => action, :element_id => @element.blank? ? "" : @element.id, :content_id => @content.blank? ? "" : @content.id, :remote => true }), :remote => true, :class => "search_field_clear", :id => "search_field_clear", :title => _("click_to_show_all"), :style => (params[:query].nil? ? "display: none" : "display: block") ) %> </div> <%= submit_tag _('search'), :name => nil, :class => 'button' %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems