Sha256: 64081e7b443eb3e6555576fc1fee1e4c96a39f16778ab9f9137a56cf51fab9bd

Contents?: true

Size: 628 Bytes

Versions: 5

Compression:

Stored size: 628 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.id)) %></td>
    <td><%= link_to("Edit", zoos_edit_url(:id => zoo.id)) %></td>
    <td><%= link_to("Delete", zoos_delete_url(:id => zoo.id), :method => :delete, :confirm => "Are you sure?") %></td>
  </tr>
<% end %>
</table>

<br />

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

Version data entries

5 entries across 5 versions & 2 rubygems

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