OSDN Git Service

w
[pettanr/pettanr.git] / app / views / panel_pictures / index.html.erb
index 21f5124..aa5ecb1 100644 (file)
@@ -1,20 +1,19 @@
-<h1>Listing panel_pictures</h1>
+<h1><%= t '.title' -%></h1>
 
 <table>
   <tr>
-    <th>picture</th>
-    <th>credit</th>
-    <th>panel</th>
-    <th>link</th>
-    <th>caption</th>
-    <th>x, y, z</th>
-    <th>t</th>
-    <th>WidthxHeight</th>
-    <th>vh</th>
-    <th>updated_at</th>
+    <th><%= t_m 'PanelPicture.id' -%></th>
+    <th><%= t_m 'PanelPicture.caption' -%></th>
+    <th><%= t_m 'PanelPicture.picture_id' -%></th>
+    <th><%=  -%></th>
+    <th><%= t_m 'PanelPicture.panel_id' -%></th>
+    <th><%= t_m 'PanelPicture.link' -%></th>
+    <th><%= t_m 'PanelPicture.z' -%></th>
+    <th><%= t_m 'PanelPicture.updated_at' -%></th>
   </tr>
 
-<% @panel_pictures.each do |panel_picture| %>
-  <%= render 'list_item', :panel_picture => panel_picture %>
-<% end %>
+  <% @panel_pictures.each do |panel_picture| %>
+    <%= render 'list_item', :panel_picture => panel_picture %>
+  <% end %>
 </table>
+<%= paginate(@paginate) %>