OSDN Git Service

t#31470:create pager
[pettanr/pettanr.git] / app / views / ground_pictures / index.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th><%= t_m 'GroundPicture.panel_id' -%></th>
6     <th><%= t_m 'GroundPicture.picture_id' -%></th>
7     <th><%=   -%></th>
8     <th><%= t_m 'GroundPicture.z' -%></th>
9     <th><%= t_m 'GroundPicture.repeat' -%></th>
10     <th><%= t_m 'GroundPicture.x' -%></th>
11     <th><%= t_m 'GroundPicture.y' -%></th>
12     <th><%= t_m 'GroundPicture.created_at' -%></th>
13     <th><%= t_m 'GroundPicture.updated_at' -%></th>
14   </tr>
15
16   <% @ground_pictures.each do |gp| %>
17     <%= render 'list_item', :ground_picture => gp %>
18   <% end -%>
19 </table>
20 <%= paginate(@paginate) %>