Sha256: 1fb2f64131ac3c3625f1e61791dc0da30fb44bbb2b9abb66f76f4568ab922a52

Contents?: true

Size: 525 Bytes

Versions: 9

Compression:

Stored size: 525 Bytes

Contents

<% if Alchemy::Attachment.tag_counts.any? %>
  <h2><%= Alchemy.t("Filter by tag") %></h2>
  <%= js_filter_field '.tag-list li' %>
  <ul>
    <%= render_tag_list('Alchemy::Attachment') %>
  </ul>
  <% if params[:tagged_with].present? %>
    <%= link_to(
      render_icon('delete-small') + Alchemy.t('Remove tag filter'),
      url_for(tag_list_params.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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-3.6.7 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/attachments/_tag_list.html.erb