OSDN Git Service

Merge branch 'v03_test' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v03_test
[pettanr/pettanr.git] / app / views / panels / _standard.html.erb
index aada79d..e1ae5ad 100644 (file)
@@ -11,9 +11,9 @@ t:<%= @panel.t %>
     <% if elm.kind_of?(Balloon) %>
       <div id="vballoon<%= elm.id -%>" class="balloon" style="position:relative;  top:<%= elm.y -%>px; left:<%= elm.x -%>px; z-index:<%= elm.z -%>; ">
         <img style=" position:absolute; width:<%= elm.width -%>px; height:<%= elm.height -%>px; " src="<%= elm.system_picture.url -%>">
-        <% elm.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 -%>
+        <% elm.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>