Sha256: acea922bd8914d085e98eb6fd5ef3ca66221bba7a4c5224cdcd6677ec05c3911

Contents?: true

Size: 544 Bytes

Versions: 3

Compression:

Stored size: 544 Bytes

Contents

<h1>Catégories</h1>

<p><%= link_to t('categories.links.new'), new_admin_category_path, :class => "button" %></p>

<table>
  <tr>
    <th><%= t('categories.name') %></th>
    <th><%= t('categories.link') %></th>
    <th></th>
  </tr>
<%= render_cat @categories, :sort => lambda{|x| x.position } do |node, child| %>
  <tr>
    <td><%= display_node(node) %></td>
    <td><%= node.link %></td>
    <td>
      <%= display_edit_category_link(node) %>
      <%= display_sort_category_link(node) %>
    </td>
  </tr>
  <%= child %>
<% end %>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
merrycms-0.1.2 app/views/admin/categories/index.html.erb
merrycms-0.1.1 app/views/admin/categories/index.html.erb
merrycms-0.1.0 app/views/admin/categories/index.html.erb