OSDN Git Service

w
[pettanr/pettanr.git] / app / views / speech_balloons / _list_item.html.erb
1 <tr>
2   <td>
3     <%= link_to(h(speech_balloon.id.to_s), speech_balloon_path(speech_balloon)) %>
4   </td>
5   <td>
6     <%= link_to(h(truncate(speech_balloon.caption, :length => 12)), speech_balloon_path(speech_balloon)) %>
7   </td>
8   <td>
9     <%= h(truncate(speech_balloon.speech.content, :length => 12)) if speech_balloon.speech %>
10   </td>
11   <td>
12     <%= tag(:img, speech_balloon.balloon.system_picture.tmb_opt_img_tag) if speech_balloon.balloon %>
13     <%= link_to(h(truncate(speech_balloon.speech_balloon_template.caption, :length => 12)), speech_balloon_template_path(speech_balloon.speech_balloon_template)) %>
14   </td>
15   <td>
16     <%= link_to panel_icon(:object => speech_balloon.panel, :size => 25), panel_path(speech_balloon.panel) %>
17     <%= link_to h(truncate((speech_balloon.panel.caption), :length => 12)), panel_path(speech_balloon.panel) %>
18   </td>
19   <td>
20     <%= speech_balloon.z %>
21   </td>
22   <td>
23     <%= distance_of_time_in_words_to_now speech_balloon.updated_at %>
24   </td>
25 </tr>