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

Version Path
attached-0.5.2 test/dummy/app/views/images/index.html.erb
attached-0.5.1 test/dummy/app/views/images/index.html.erb
attached-0.5.0 test/dummy/app/views/images/index.html.erb
attached-0.4.9 test/dummy/app/views/images/index.html.erb
attached-0.4.8 test/dummy/app/views/images/index.html.erb
attached-0.4.7 test/dummy/app/views/images/index.html.erb