Sha256: e2c8a4ca5068475b9ef03b5c30a8132bf3b7407ee9ca3ee7226faafacf271b81

Contents?: true

Size: 524 Bytes

Versions: 11

Compression:

Stored size: 524 Bytes

Contents

<% p = params.dup %>
<% if Alchemy::Picture.tag_counts.any? %>
  <h2><%= Alchemy.t("Filter by tag") %></h2>
  <%= js_filter_field '.tag-list li' %>
  <ul>
    <%= render_tag_list('Alchemy::Picture', p) %>
  </ul>
  <% if p[:tagged_with].present? %>
    <%= link_to(
      render_icon('delete-small') + Alchemy.t('Remove tag filter'),
      url_for(p.delete_if { |k, v| k == "tagged_with" }.merge(action: 'index')),
      remote: request.xhr?,
      class: 'button small with_icon please_wait'
    ) %>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-3.5.0 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.5.0.rc2 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.5.0.rc1 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/pictures/_tag_list.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/pictures/_tag_list.html.erb