Sha256: 11026bd564f74b4aa3cd87d4168e260f56fe328d5b742680c31c1489477555ed

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Listing Categories</h1>

<table>
  <thead>
    <tr>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @categories.each do |category| %>
      <tr>
        <td><%= link_to 'Show', category %></td>
        <td><%= link_to 'Edit', edit_category_path(category) %></td>
        <td><%= link_to 'Destroy', category, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datashift-0.40.1 spec/dummy/app/views/categories/index.html.erb
datashift-0.40.0 spec/dummy/app/views/categories/index.html.erb