root/app/views/admin/tags/index.rhtml @ 3b6475bb
2a4e5c89 | Marc Dequènes (Duck) | <h2><%= _("List of Tags") %></h2>
|
|
<p>
|
|||
<table>
|
|||
<tr><th><%= _("Name") %></th><th><%= _("Artworks count") %></th><th><%= _("Actions") %></th></tr>
|
|||
<% @tags = resource_model.paginate(:all, :order => "name ASC", :page => params[:page]) %>
|
|||
<% @tags.each do |tag| %>
|
|||
<tr><td><%= tag.name %></td><td><%= tag.artworks.size %></td><td class="actions"><%= display_standard_item_actions(tag) %></span></td></tr>
|
|||
<% end %>
|
|||
</table>
|
|||
<%= will_paginate @tags %>
|
|||
<%= display_new_action %>
|
|||
</p>
|