Sha256: ab25351daeedeb9a7e1156100d7a944ae175b92ffbd52f9e14693ca3a636a1e4

Contents?: true

Size: 551 Bytes

Versions: 15

Compression:

Stored size: 551 Bytes

Contents

<h1>Listing categories</h1>

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

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

15 entries across 15 versions & 1 rubygems

Version Path
restspec-0.3.2 examples/store-api/app/views/categories/index.html.erb
restspec-0.3.1 examples/store-api/app/views/categories/index.html.erb
restspec-0.3.0 examples/store-api/app/views/categories/index.html.erb
restspec-0.2.6 examples/store-api/app/views/categories/index.html.erb
restspec-0.2.5 examples/store-api/app/views/categories/index.html.erb
restspec-0.2.4 examples/store-api/app/views/categories/index.html.erb
restspec-0.2.3 examples/store-api/app/views/categories/index.html.erb
restspec-0.2.2 examples/store-api/app/views/categories/index.html.erb
restspec-0.2.1 examples/store-api/app/views/categories/index.html.erb
restspec-0.2 examples/store-api/app/views/categories/index.html.erb
restspec-0.1 examples/store-api/app/views/categories/index.html.erb
restspec-0.0.4 examples/store-api/app/views/categories/index.html.erb
restspec-0.0.3 examples/store-api/app/views/categories/index.html.erb
restspec-0.0.2 examples/store-api/app/views/categories/index.html.erb
restspec-0.0.1 examples/store-api/app/views/categories/index.html.erb