<table>
<tr>
- <th><%= t_m 'GroundPicture.panel_id' -%></th>
+ <th><%= t_m 'GroundPicture.id' -%></th>
+ <th><%= t_m 'GroundPicture.caption' -%></th>
<th><%= t_m 'GroundPicture.picture_id' -%></th>
<th><%= -%></th>
+ <th><%= t_m 'GroundPicture.panel_id' -%></th>
<th><%= t_m 'GroundPicture.z' -%></th>
<th><%= t_m 'GroundPicture.repeat' -%></th>
<th><%= t_m 'GroundPicture.x' -%></th>
<th><%= t_m 'GroundPicture.y' -%></th>
- <th><%= t_m 'GroundPicture.created_at' -%></th>
<th><%= t_m 'GroundPicture.updated_at' -%></th>
</tr>
<% @ground_pictures.each do |gp| %>
- <tr>
- <td><%= link_to gp.panel_id, panel_path(gp.panel_id) %></td>
- <td><%= tag :img, gp.picture.tmb_opt_img_tag -%></td>
- <td><%= render gp.picture.credit_template, :picture => gp.picture %></td>
- <td><%= gp.z %></td>
- <td><%= gp.repeat %><%= MagicNumber['ground_picture_repeat_items'][gp.repeat] %></td>
- <td><%= gp.x %></td>
- <td><%= gp.y %></td>
- <td><%= distance_of_time_in_words_to_now gp.created_at %></td>
- <td><%= distance_of_time_in_words_to_now gp.updated_at %></td>
- </tr>
+ <%= render 'list_item', :ground_picture => gp %>
<% end -%>
</table>
+<%= paginate(@paginate) %>