Sha256: 6ef2251cb533a0060538417f88d7e4cd32d415ce521da41e054fdad35a4d35ba
Contents?: true
Size: 476 Bytes
Versions: 6
Compression:
Stored size: 476 Bytes
Contents
<h1>Images</h1> <table> <%- @images.each do |image| -%> <%= content_tag :tr, image, :class => cycle('odd','even') do %> <td><%= image.name %></td> <td><%= link_to 'Show', image_path(image) %></td> <td><%= link_to 'Edit', edit_image_path(image) %></td> <td><%= link_to 'Destroy', image_path(image), :method => :delete %></td> <% end %> <%- end -%> </table> <p> <%= link_to 'New', new_image_path %> <%= link_to 'Back', root_path %> </p>
Version data entries
6 entries across 6 versions & 1 rubygems