Sha256: b54d2f35eedfc14d9fbb0e9187fbfbae188a100ed649b566ac9069f75cc13066

Contents?: true

Size: 837 Bytes

Versions: 27

Compression:

Stored size: 837 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: _t(:do_you_really_want_to_delete_this_tag?),
      icon: 'tag_delete',
      title: _t(:delete_tag)
    } %>
    <% end %>
    <% if can?(:edit, Alchemy::Tag) %>
    <%= link_to_dialog '',
      edit_admin_tag_path(tag),
      {
        title: _t(:edit_tag),
        size: '360x410'
      },
      {
        title: _t(:edit_tag),
        class: 'icon tag_edit'
      }
    %>
    <% end %>
  </td>
</tr>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/tags/_tag.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/tags/_tag.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/tags/_tag.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/tags/_tag.html.erb