Sha256: d19575dc1f26dcc37291b23b1ecba138388ed8b210b29dddbbd5327986d59bfe

Contents?: true

Size: 474 Bytes

Versions: 22

Compression:

Stored size: 474 Bytes

Contents

<h1>Listing planets</h1>

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

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

<br />

<%= link_to 'New Planet', new_planet_path %>

Version data entries

22 entries across 6 versions & 1 rubygems

Version Path
tabulous-1.3.2 spec/applications/main/rails_3-2-13/app/views/planets/index.html.erb
tabulous-1.3.2 spec/applications/simple_tabs/rails_3-2-13/app/views/planets/index.html.erb