Sha256: e266f6801c0f83ebadc508046d73f5d175087727bcd2b0da9dc9c6f9fbd4f988

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

<div class="tag-list<%= ' with_filter_bar' if resource_has_filters %><%= ' filtered' if search_filter_params[:tagged_with].present? %>">
  <h2><%= Alchemy.t("Filter by tag") %></h2>
  <%= js_filter_field '.tag-list li' %>
  <ul>
    <%= render_tag_list(resource_model.name) %>
  </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 %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

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