Sha256: 8c391f1b9af98536e963beb00423f536fba499ea2dfbac36d89e8ade1cff08dc

Contents?: true

Size: 704 Bytes

Versions: 18

Compression:

Stored size: 704 Bytes

Contents

<%- url_scope =
        begin
          resource_url_proxy
        rescue NameError
          self
        end -%>
<%- url ||= url_scope.url_for(:action => 'index') -%>
<%= form_tag(url, :method => :get, class: 'search_form') 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

18 entries across 18 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/partials/_search_form.html.erb