Sha256: 116e85d22a9d545dcdd1f265f454272b50594477fc9a56623e61a55ee779c497

Contents?: true

Size: 449 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/attachments/_tag_list.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/attachments/_tag_list.html.erb