Sha256: 89c7377ffab32db80bc5d271adbf2f3eef9a297cdaf64414abf2f0f3053500fa

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 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 search_filter_params[:tagged_with].present? %>
    <%= link_to(
      render_icon(:times, size: 'xs') + Alchemy.t('Remove tag filter'),
      url_for(search_filter_params.except(:tagged_with)),
      remote: request.xhr?,
      class: 'secondary button small with_icon'
    ) %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-4.1.0.beta app/views/alchemy/admin/attachments/_tag_list.html.erb