OSDN Git Service

t#31566:add form sb
[pettanr/pettanr.git] / app / views / speech_balloons / _list_item.html.erb
index f964dd3..cb1fb81 100644 (file)
@@ -9,7 +9,12 @@
     <%= h(truncate(speech_balloon.speech.content, :length => 12)) %>
   </td>
   <td>
-    <%= speech_balloon.balloon.system_picture_id %>
+    <%= tag(:img, speech_balloon.balloon.system_picture.tmb_opt_img_tag) %>
+    <%= link_to(h(truncate(speech_balloon.speech_balloon_template.caption, :length => 12)), speech_balloon_template_path(speech_balloon.speech_balloon_template)) %>
+  </td>
+  <td>
+    <%= link_to panel_icon(:object => speech_balloon.panel, :size => 25), panel_path(speech_balloon.panel) %>
+    <%= link_to h(truncate((speech_balloon.panel.caption), :length => 12)), panel_path(speech_balloon.panel) %>
   </td>
   <td>
     <%= speech_balloon.z %>