Sha256: ef175f5a4d0d17556abaa67eeb6142cc788efa48820e132d5da4ac38c660f86e

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

<h1>Listing parent_resources</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @parent_resources.each do |parent_resource| %>
  <tr>
    <td><%= parent_resource.name %></td>
    <td><%= parent_resource.description %></td>
    <td><%= link_to 'Show', parent_resource %></td>
    <td><%= link_to 'Edit', edit_parent_resource_path(parent_resource) %></td>
    <td><%= link_to 'Destroy', parent_resource, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Parent resource', new_parent_resource_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 test/dummy/app/views/parent_resources/index.html.erb~