Sha256: f5a96ac0796e454c2a17ecdfccb6dcab21c1e14cffd7b7ef7d88b96f85874070

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

<h1>Listing Zoos</h1>

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

<% for zoo in @zoos %>
  <tr>
    <td><%= zoo.name %></td>
    <td><%= zoo.description %></td>
    <td><%= zoo.created_at %></td>
    <td><%= zoo.updated_at %></td>
    <td><%= link_to("Show", zoos_show_url(:id => zoo)) %></td>
    <td><%= link_to("Edit", zoos_edit_url(:id => zoo)) %></td>
    <td><%= link_to("Delete", zoos_delete_url(:id => zoo), :method => :delete, :confirm => "Are you sure?") %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to("New Zoo", zoos_new_url) %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mack-data_mapper-0.5.5 test/fixtures/zoo_with_cols/index.html.erb.fixture