Sha256: 711e55beba0b4663e3c82ae24156b78de030a91ba61702db607895202b7f3657
Contents?: true
Size: 636 Bytes
Versions: 10
Compression:
Stored size: 636 Bytes
Contents
<h1>Listing <%= @name_plural %></h1> <table> <tr> <th> </th> </tr> <%% for <%= @name_singular %> in @<%= @name_plural %> %> <tr> <td> </td> <td><%%= link_to("Show", <%= @name_plural %>_show_url(:id => <%= @name_singular %>.id)) %></td> <td><%%= link_to("Edit", <%= @name_plural %>_edit_url(:id => <%= @name_singular %>.id)) %></td> <td><%%= link_to("Delete", <%= @name_plural %>_delete_url(:id => <%= @name_singular %>.id), :method => :delete, :confirm => "Are you sure?") %></td> </tr> <%% end %> </table> <br /> <%%= link_to("New <%= @name_singular_camel %>", <%= @name_plural %>_new_url) %>
Version data entries
10 entries across 10 versions & 1 rubygems