Sha256: 7a5bd3a75989364a6bb065d71cb2a6d348c4defe95330f8b7d0f2c619a9b8fe5

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

<h1>Listing parent_models</h1>

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

<% @parent_models.each do |parent_model| %>
  <tr>
    <td><%=h parent_model.name %></td>
    <td><%= link_to 'Show', parent_model %></td>
    <td><%= link_to 'Edit', edit_parent_model_path(parent_model) %></td>
    <td><%= link_to 'Destroy', parent_model, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New parent_model', new_parent_model_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
view_mapper-0.3.4 test/views/has_many/expected_templates/index.html.erb