4 <div class="panel" style="width:<%= @panel.width %>px;height:<%= @panel.height %>px;overflow:hidden; border:solid black <%= @panel.border %>px; background:white;">
5 <% @panel.panel_pictures.each do |panel_picture| %>
6 <div id="vPicture<%= panel_picture.id -%>" class="panel_picture" style="position:relative; top:<%= panel_picture.y -%>px; left:<%= panel_picture.x -%>px; z-index:<%= panel_picture.z -%>; ">
7 <img style=" position:absolute; width:<%= panel_picture.width -%>px; height:<%= panel_picture.height -%>px; " src="<%= panel_picture.url -%>">
10 <% @panel.balloons.each do |balloon| %>
11 <div id="vballoon<%= balloon.id -%>" class="balloon" style="position:relative; top:<%= balloon.y -%>px; left:<%= balloon.x -%>px; z-index:<%= balloon.z -%>; ">
12 <img style=" position:absolute; width:<%= balloon.width -%>px; height:<%= balloon.height -%>px; " src="<%= balloon.system_picture.url -%>">
13 <% balloon.speaches.each do |speach| %>
14 <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; ">
15 <%= h speach.content -%>
22 Comic:<%= @panel.comic_id %>
25 resource_picture:<%= @panel.resource_picture_id %>
28 Width:<%= @panel.width %>
31 Height:<%= @panel.height %>
33 <%= form_for(@panel) do |f| %>
34 <%= f.submit 'move to' %>
35 <%= f.number_field :t %>
37 <%= button_to 'Destroy', @panel, confirm: 'Are you sure?', method: :delete %>