Sha256: 09394d908ba119dfb365c1ebb4ba0dd03ff6dc74c18ec884e8cb2848a5426b4b

Contents?: true

Size: 993 Bytes

Versions: 14

Compression:

Stored size: 993 Bytes

Contents

<%= form_tag(
	url_for({
		:action => 'index',
		:options => @options,
		: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,
				:size => @size,
				:overlay => 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

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.6.1 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.5 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.4 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.3.1 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.1.beta1 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.3 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.2 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.1 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.rc6 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.rc5 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.rc4 app/views/admin/partials/_remote_search_form.html.erb
alchemy_cms-2.0.rc3 app/views/admin/partials/_remote_search_form.html.erb