OSDN Git Service

speach rename to speech
[pettanr/pettanr.git] / app / views / panels / index.html.erb
index 8736037..3783fd3 100644 (file)
@@ -11,9 +11,9 @@
   <% panel.balloons.each do |balloon| %>
     <div id="vballoon<%= balloon.id -%>" class="balloon" style="position:relative;  top:<%= balloon.y -%>px; left:<%= balloon.x -%>px; z-index:<%= balloon.z -%>; ">
       <img style=" position:absolute; width:<%= balloon.width -%>px; height:<%= balloon.height -%>px; " src="<%= balloon.system_picture.url -%>">
-      <% balloon.speaches.each do |speach| %>
-        <div style="position:relative; top:<%= speach.y -%>px; left:<%= speach.x -%>px;width:<%= speach.width -%>px; height:<%= speach.height -%>px; top:1px; left:1px; z-index:1; ">
-          <%= h speach.content -%>
+      <% balloon.speeches.each do |speech| %>
+        <div style="position:relative; top:<%= speech.y -%>px; left:<%= speech.x -%>px;width:<%= speech.width -%>px; height:<%= speech.height -%>px; top:1px; left:1px; z-index:1; ">
+          <%= h speech.content -%>
         </div>
       <% end %>
     </div>