Sha256: 22286220fb038c509add6f2ec8f0a5788b41d371b6c4f0f647c0aa75be8726fb

Contents?: true

Size: 573 Bytes

Versions: 5

Compression:

Stored size: 573 Bytes

Contents

<h1>Listing categories</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @categories.each do |category| %>
      <tr>
        <td><%= category.title %></td>
        <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

5 entries across 5 versions & 1 rubygems

Version Path
activeform-rails-0.0.5 spec/dummy/app/views/categories/index.html.erb
activeform-rails-0.0.4 spec/dummy/app/views/categories/index.html.erb
activeform-rails-0.0.3 spec/dummy/app/views/categories/index.html.erb
activeform-rails-0.0.2 spec/dummy/app/views/categories/index.html.erb
activeform-rails-0.0.1 spec/dummy/app/views/categories/index.html.erb