OSDN Git Service

t#31740:join copy elt form
[pettanr/pettanr.git] / app / views / speech_balloons / show.html.erb
index 51e0115..998ee30 100644 (file)
@@ -1,3 +1,98 @@
 <h1><%= t('.title') %></h1>
 <p id="notice"><%= notice %></p>
 
+<%= render 'speech_balloons/standard', :panel => @speech_balloon.panel, :author => @author, :spot => @speech_balloon %>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.caption' -%>:</b>
+  <%= h @speech_balloon.caption %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.speech_balloon_template_id' -%>:</b>
+  <%= link_to h(@speech_balloon.speech_balloon_template.caption), @speech_balloon.speech_balloon_template %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.classname' -%>:</b>
+  <%= @speech_balloon.classname %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.z' -%>:</b>
+  <%= @speech_balloon.z %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.t' -%>:</b>
+  <%= @speech_balloon.t %>
+</p>
+
+<% if @speech_balloon.balloon %>
+  <p>
+    <b><%= t_m 'Balloon.x' -%>:</b>
+    <%= @speech_balloon.balloon.x %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Balloon.y' -%>:</b>
+    <%= @speech_balloon.balloon.y %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Balloon.width' -%>:</b>
+    <%= @speech_balloon.balloon.width %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Balloon.height' -%>:</b>
+    <%= @speech_balloon.balloon.height %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Balloon.r' -%>:</b>
+    <%= @speech_balloon.balloon.r %>
+  </p>
+<% end %>
+
+<% if @speech_balloon.speech %>
+  <p>
+    <b><%= t_m 'Speech.content' -%>:</b>
+    <%= @speech_balloon.speech.content %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Speech.x' -%>:</b>
+    <%= @speech_balloon.speech.x %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Speech.y' -%>:</b>
+    <%= @speech_balloon.speech.y %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Speech.width' -%>:</b>
+    <%= @speech_balloon.speech.width %>
+  </p>
+
+  <p>
+    <b><%= t_m 'Speech.height' -%>:</b>
+    <%= @speech_balloon.speech.height %>
+  </p>
+<% end %>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.created_at' -%>:</b>
+  <%= l @speech_balloon.created_at %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.updated_at' -%>:</b>
+  <%= l @speech_balloon.updated_at %>
+</p>
+
+<%= link_to t('link.edit'), edit_speech_balloon_path(@speech_balloon) %>
+<%= link_to t('link.destroy'), speech_balloon_path(@speech_balloon), :method => :delete %>
+
+<%= render 'panels/element_copy', :element => @speech_balloon, :author => @author %>