OSDN Git Service

t#30021:add repeat on gp
[pettanr/pettanr.git] / app / views / ground_pictures / index.html.erb
index 32f741c..18e665c 100644 (file)
@@ -5,6 +5,8 @@
     <th>id</th>
     <th>panel_id</th>
     <th>picture_id</th>
+    <th>repeat</th>
+    <th>position x,y</th>
     <th>z</th>
   </tr>
 
@@ -13,6 +15,8 @@
     <td><%= gp.id %></td>
     <td><%= link_to gp.panel_id, panel_path(gp.panel_id) %></td>
     <td><%= link_to gp.picture_id, color_path(gp.picture_id) %></td>
+    <td><%= gp.repeat %><%= MagicNumber['ground_picture_repeat_items'][gp.repeat] %></td>
+    <td><%= gp.x %>, <%= gp.y %></td>
     <td><%= gp.z %></td>
   </tr>
 <% end -%>