Sha256: 58d3351440e315447100f6a9fb0faf439bd7e9916a5b0e3441f2f2823fe4b72d

Contents?: true

Size: 665 Bytes

Versions: 8

Compression:

Stored size: 665 Bytes

Contents

<h2>Listing categories</h2>

<table>
  <tr>
    <th>Name</th>
    <th>Kind</th>
  </tr>

<% @categories.each do |category| %>
  <tr>
    <td><%=h category.name %></td>
    <td><%=h category.kind %></td>
    <td><%= link_to 'Show', category %></td>
    <td><%= link_to 'Edit', edit_category_path(category) %></td>
    <td><%= link_to 'Destroy', category, :confirm => 'Are you sure?', :method => :delete %></td>
    <td><%= link_to '↑', move_up_category_path(category) %></td>
    <td><%= link_to '↓', move_down_category_path(category) %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New category', new_category_path %>

<%= link_to 'back', root_path %>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
yhara-moneyrail-0.0.2 app/views/categories/index.html.erb
moneyrail-0.1.6 app/views/categories/index.html.erb
moneyrail-0.1.5 app/views/categories/index.html.erb
moneyrail-0.1.4 app/views/categories/index.html.erb
moneyrail-0.1.2 app/views/categories/index.html.erb
moneyrail-0.1.1 app/views/categories/index.html.erb
moneyrail-0.1.0 app/views/categories/index.html.erb
moneyrail-0.0.2 app/views/categories/index.html.erb