OSDN Git Service

speech balloon template changed
[pettanr/pettanr.git] / app / views / speech_balloon_templates / show.html.erb
index 6ef4812..180db12 100644 (file)
@@ -2,30 +2,27 @@
 
 <p>
   <b>Name:</b>
-  <%= h @speech_balloon.name %>
+  <%= h @speech_balloon_template.name %>
 </p>
 
 <p>
-  <b>Tail count:</b>
-  <%= @speech_balloon.tail_count %>
+  <b>classname:</b>
+  <%= h @speech_balloon_template.classname %>
 </p>
 
 <p>
-  <b>size count:</b>
-  <%= @speech_balloon.size_count %>
+  <b>caption:</b>
+  <%= h @speech_balloon_template.caption %>
 </p>
 
 <p>
   <b>t:</b>
-  <%= @speech_balloon.t %>
+  <%= @speech_balloon_template.t %>
 </p>
-<% @speech_balloon.balloon_templates.each do |balloon_template| -%>\r
-  <div>\r
-    <p>\r
-      Tail:<%= balloon_template.tail -%>\r
-      Size:<%= balloon_template.size -%>\r
-    </p>\r
-    <img src="<%= balloon_template.system_picture.url -%>" />\r
-  </div>\r
-<% end -%>\r
-<%= link_to 'Back', speech_balloons_path %>
+
+<p>
+  <b>settings:</b>
+  <%= h @speech_balloon_template.settings %>
+</p>
+
+<%= link_to 'Back', speech_balloon_templates_path %>