<h1>Listing my panel pictures</h1>
+<table>
+ <tr>
+ <th>picture</th>
+ <th>credit</th>
+ <th>panel</th>
+ <th>link</th>
+ <th>x, y, z</th>
+ <th>t</th>
+ <th>WidthxHeight</th>
+ <th>vh</th>
+ <th>updated_at</th>
+ </tr>
+
<% @panel_pictures.each do |panel_picture| %>
- <div>
- <%= panel_picture.picture.filename %>
- <img src="<%= panel_picture.picture.url() -%>" width="<%= 44 -%>" height="<%= 44 -%>">
- <%= panel_picture.picture.width %>x<%= panel_picture.picture.height %>
- <%= panel_picture.picture.filesize %>bytes
- </div>
+ <%= render 'panel_pictures/list_item', :panel_picture => panel_picture %>
<% end %>
+</table>