-<h1>Listing resource_pictures</h1>
-<% @resource_pictures.each do |resource_picture| %>
- <% @resource_picture = resource_picture %>
- <div>
- <%= link_to resource_picture.filename, resource_picture_path(resource_picture) %>
- <img src="<%= resource_picture.url -%>">
- <%= resource_picture.width %>x<%= resource_picture.height %>
- <%= resource_picture.filesize %>bytes
- <%= render resource_picture.credit_template, :picture => resource_picture %>
- </div>
-<% end %>
+<h1><%= t '.title' -%></h1>
+<table>
+ <tr>
+ <th></th>
+ <th></th>
+ <th><%= t_m 'ResourcePicture.artist_id' -%></th>
+ <th><%= t_m 'ResourcePicture.ext' -%></th>
+ <th><%= t_m 'ResourcePicture.width' -%></th>
+ <th><%= t_m 'ResourcePicture.height' -%></th>
+ <th><%= t_m 'ResourcePicture.filesize' -%></th>
+ </tr>
+
+ <% @resource_pictures.each do |resource_picture| %>
+ <%= render 'list_item', :resource_picture => resource_picture %>
+ <% end %>
+</table>
+<%= paginate(@paginate) %>