Sha256: 0924f8f651663cdb925397fb8fed37b652ff699891ac1a9d5b883b9904914805

Contents?: true

Size: 941 Bytes

Versions: 6

Compression:

Stored size: 941 Bytes

Contents

<table>
  <tr class="first">
    <th><%= _("Title") %></th>
    <th><%= _("Posts") %></th>
    <th><%= _("View") %></th>
    <th><%= _("Edit") %></th>
    <th><%= _("Delete") %></th>
  </tr>
  <%= render_void_table(@categories.size, 5)  %>
  
  <% for category in @categories -%>
  <tr <%= alternate_class -%> id="category_<%= category.id -%>">
    <td><%= link_to_permalink category, category.name %></td>
    <td><%= pluralize(category.articles.size, 'article') %></td>
    <td class="operation"><%= link_to image_tag('admin/show.png'), {:controller => 'content', :action => 'list', "search[category]" => category.id} %></td>
    <td class="operation"><%= link_to_edit category %></td>
    <td class="operation"><%= link_to image_tag('admin/delete.png'), {:action => 'destroy', :id => category.id, :search => params[:search], :page => params[:page] },  :confirm => "Are you sure?", :method => :post %></td>
  </tr>  
  <% end -%>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typo-5.0.3.98.1 app/views/admin/categories/_categories.html.erb
typo-5.0.3.98 app/views/admin/categories/_categories.html.erb
typo-5.1.1 app/views/admin/categories/_categories.html.erb
typo-5.1.2 app/views/admin/categories/_categories.html.erb
typo-5.1.3 app/views/admin/categories/_categories.html.erb
typo-5.1 app/views/admin/categories/_categories.html.erb