Sha256: fe617198daa992a0fcbb4b17ec8f03211a03312d7c62049cb30db0322f0d26e2

Contents?: true

Size: 769 Bytes

Versions: 12

Compression:

Stored size: 769 Bytes

Contents

<% title "Photos" %>

<table>
  <tr>
    <th>Title</th>
    <th>Photo File Name</th>
    <th>Photo Content Type</th>
    <th>Photo File Size</th>
    <th>Owner</th>
    <th>Owner Type</th>
  </tr>
  <% for photo in @photos %>
    <tr>
      <td><%=h photo.title %></td>
      <td><%=h photo.photo_file_name %></td>
      <td><%=h photo.photo_content_type %></td>
      <td><%=h photo.photo_file_size %></td>
      <td><%=h photo.owner_id %></td>
      <td><%=h photo.owner_type %></td>
      <td><%= link_to "Show", photo %></td>
      <td><%= link_to "Edit", edit_photo_path(photo) %></td>
      <td><%= link_to "Destroy", photo, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>

<p><%= link_to "New Photo", new_photo_path %></p>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
sbdevcore-0.1.2 app/views/photos/index.html.erb
sbdevcore-0.1.1 app/views/photos/index.html.erb
sbdevcore-0.1.0 app/views/photos/index.html.erb
sbdevcore-0.0.9 app/views/photos/index.html.erb
sbdevcore-0.0.8 app/views/photos/index.html.erb
sbdevcore-0.0.7 app/views/photos/index.html.erb
sbdevcore-0.0.6 app/views/photos/index.html.erb
sbdevcore-0.0.5 app/views/photos/index.html.erb
sbdevcore-0.0.4 app/views/photos/index.html.erb
sbdevcore-0.0.3 app/views/photos/index.html.erb
sbdevcore-0.0.1 app/views/photos/index.html.erb
sbdev-core-0.0.1 app/views/photos/index.html.erb