Sha256: 3cbe05cb1d24f777bc476316f4f7be118183cdc545cc22ea74c0f91bc7e46306

Contents?: true

Size: 684 Bytes

Versions: 9

Compression:

Stored size: 684 Bytes

Contents

<%- url_scope =
        begin
          resource_url_proxy
        rescue NameError
          self
        end -%>
<%- url ||= url_scope.url_for(:action => 'index') -%>
<%= form_tag(url, :method => :get) do %>
  <div class="search_field">
    <%= render_icon('search') %>
    <%= text_field_tag("query", params['query'], :class => 'thin_border', :id => "search_input_field") %>
    <%= link_to(
        "",
        url,
        :class => "search_field_clear",
        :id => "search_field_clear",
        :title => _t("click_to_show_all"),
        :style => (params[:query].nil? ? "display: none" : "display: block")
      ) %>
  </div>
  <label><%= _t('search') %></label>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/partials/_search_form.html.erb