-<span>
-t:<%= @panel.t %>
-</span>
<div class="panel" style="width:<%= @panel.width %>px;height:<%= @panel.height %>px;overflow:hidden; border:solid black <%= @panel.border %>px; background:white;">
<% @panel.each_element do |elm| %>
<% if elm.kind_of?(PanelPicture) %>
<% end %>
</div>
<span>
-Comic:<%= @panel.comic_id %>
-</span>
-<span>
-resource_picture:<%= @panel.resource_picture_id %>
-</span>
-<span>
Width:<%= @panel.width %>
</span>
<span>
Height:<%= @panel.height %>
</span>
-<%= form_for(@panel) do |f| %>
- <%= f.submit 'move to' %>
- <%= f.number_field :t %>
-<% end %>
-<%= button_to 'Destroy', @panel, confirm: 'Are you sure?', method: :delete %>