OSDN Git Service

t#31301:rename action name
[pettanr/pettanr.git] / app / views / home / ground_colors.html.erb
diff --git a/app/views/home/ground_colors.html.erb b/app/views/home/ground_colors.html.erb
new file mode 100644 (file)
index 0000000..962807e
--- /dev/null
@@ -0,0 +1,14 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <tr>
+    <th><%= t_m 'GroundColor.color_id' -%></th>
+    <th><%= t_m 'GroundColor.panel_id' -%></th>
+    <th><%= t_m 'GroundColor.z' -%></th>
+    <th><%= t_m 'GroundColor.updated_at' -%></th>
+  </tr>
+
+  <% @ground_colors.each do |gc| %>
+    <%= render 'ground_colors/list_item', :ground_color => gc, :author => @author %>
+  <% end -%>
+</table>