Sha256: fb7cd284be252b08d9818982b585524273ff81500275e2d2cb0bf392489a559d

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

<h1>Listing foos</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Active</th>
    <th>Style</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @foos.each do |foo| %>
  <tr>
    <td><%= foo.name %></td>
    <td><%= foo.active %></td>
    <td><%= foo.style %></td>
    <td><%= link_to 'Show', foo %></td>
    <td><%= link_to 'Edit', edit_foo_path(foo) %></td>
    <td><%= link_to 'Destroy', foo, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Foo', new_foo_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mir_extensions-1.1.0 app/views/foos/index.html.erb
mir_extensions-1.0.0 app/views/foos/index.html.erb