Sha256: f69dd2c1634275d19ee0ad44b1b51098532ffa6b0e6824da1a15807806683273

Contents?: true

Size: 655 Bytes

Versions: 26

Compression:

Stored size: 655 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',
      placeholder: _t(:search) %>
    <%= 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>
<% end %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/partials/_search_form.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/partials/_search_form.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/partials/_search_form.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/partials/_search_form.html.erb