height: 16px; cursor: pointer;
background-image: image-url("destroy-highlighted.png");
}
+
+.speech_balloon_template_item {
+ float: left;
+}
+.speech_balloon_template_item-row-break {
+ clear: both;
+}
+
<ul>
<% @speech_balloon_templates.each do |st| %>
<li>
- <div>
+ <div class="speech_balloon_template_item">
<%= link_to tag(:img, st.system_picture.tmb_opt_img_tag), speech_balloon_template_path(st) %>
<div>
<%= link_to h(st.caption), speech_balloon_template_path(st) %>
</div>
</div>
+ <div class="speech_balloon_template_item">
+ <% if @author and @author.working? -%>
+ <%= link_to t('speech_balloon_templates.add_to_panel'), main_app.new_speech_balloon_path(:speech_balloon_template_id => st.id) %>
+ <% end -%>
+ </div>
+ <div class="speech_balloon_template_item-row-break">
+ </div>
</li>
<% end %>
</ul>