Sha256: 513a76b17cb61b9a1229061bc5685a4d00504daadc45ab6389821905d43bd489

Contents?: true

Size: 813 Bytes

Versions: 130

Compression:

Stored size: 813 Bytes

Contents

<tr class="<%= cycle('even', 'odd') %>">
  <td class="icon"><%= render_icon :tag %></td>
  <td class="name"><%= tag.name %></td>
  <td class="count">
    <%= tag.taggings.collect(&:taggable).collect { |t| t.class.model_name.human }.uniq.join(', ') %>
  </td>
  <td class="count"><%= tag.taggings.count %></td>
  <td class="tools">
  <% if can?(:destroy, Alchemy::Tag) %>
    <%= delete_button admin_tag_path(tag), {
      message: Alchemy.t(:do_you_really_want_to_delete_this_tag?),
      icon: :minus,
      title: Alchemy.t(:delete_tag)
    } %>
  <% end %>
  <% if can?(:edit, Alchemy::Tag) %>
    <%= link_to_dialog render_icon(:edit),
      edit_admin_tag_path(tag),
      {
        title: Alchemy.t(:edit_tag),
        size: '360x410'
      },
      title: Alchemy.t(:edit_tag) %>
  <% end %>
  </td>
</tr>

Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.0 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.0.pre.rc1 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.1.6 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.0.pre.c app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-7.0.0.pre.b app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.1.5 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.0.14 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-6.1.4 app/views/alchemy/admin/tags/_tag.html.erb