Sha256: 20916faf3560fce5feec0d8a0de8163b636899674549df0d45833027aae59bc5

Contents?: true

Size: 449 Bytes

Versions: 11

Compression:

Stored size: 449 Bytes

Contents

<% p = params.dup %>
<h2><%= Alchemy.t("Filter by tag") %></h2>
<%= js_filter_field '.tag-list li' %>
<ul>
  <%= render_tag_list('Alchemy::Attachment', 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 %>

Version data entries

11 entries across 11 versions & 1 rubygems

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