<% panel.panel_elements.each do |elm| %> <% case elm.class.to_s %> <% when 'PanelPicture' %>
<%= link_to_unless(elm.link.blank?, tag(:img, elm.opt_img_tag(spot)), elm.link) %>
<% when 'SpeechBalloon' %>
<%= elm.caption -%>

<%= sanitize(h(elm.speech.content).gsub(/\n/, '
'), :tags => %w(a p br)) -%>

<% when 'GroundPicture' %>
<% when 'GroundColor' %>
<% end %> <% end %>