OSDN Git Service

t#31671:add elm copy
[pettanr/pettanr.git] / app / views / ground_pictures / show.html.erb
index 51e0115..626da72 100644 (file)
@@ -1,3 +1,44 @@
 <h1><%= t('.title') %></h1>
 <p id="notice"><%= notice %></p>
 
+<%= render 'panel_pictures/standard', :panel => @ground_picture.panel, :author => @author, :spot => @ground_picture %>
+
+<p>
+  <b><%= t_m 'GroundPicture.caption' -%>:</b>
+  <%= h @ground_picture.caption %>
+</p>
+
+<p>
+  <b><%= t_m 'GroundPicture.z' -%>:</b>
+  <%= @ground_picture.z %>
+</p>
+
+<p>
+  <b><%= t_m 'GroundPicture.repeat' -%>:</b>
+  <%= @ground_picture.repeat %>
+</p>
+
+<p>
+  <b><%= t_m 'GroundPicture.x' -%>:</b>
+  <%= @ground_picture.x %>
+</p>
+
+<p>
+  <b><%= t_m 'GroundPicture.y' -%>:</b>
+  <%= @ground_picture.y %>
+</p>
+
+<p>
+  <b><%= t_m 'GroundPicture.created_at' -%>:</b>
+  <%= l @ground_picture.created_at %>
+</p>
+
+<p>
+  <b><%= t_m 'GroundPicture.updated_at' -%>:</b>
+  <%= l @ground_picture.updated_at %>
+</p>
+
+<%= link_to t('link.edit'), edit_ground_picture_path(@ground_picture) %>
+<%= link_to t('link.destroy'), ground_picture_path(@ground_picture), :method => :delete %>
+
+<%= render 'copy', :ground_picture => @ground_picture, :author => @author %>