OSDN Git Service

w
[pettanr/pettanr.git] / app / views / speech_balloons / list.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th><%= t_m 'SpeechBalloon.id' -%></th>
6     <th><%= t_m 'SpeechBalloon.panel_id' -%></th>
7     <th><%= t_m 'SpeechBalloon.speech_balloon_template_id' -%></th>
8     <th><%= t_m 'SpeechBalloon.classname' -%></th>
9     <th><%= t_m 'SpeechBalloon.z' -%></th>
10     <th><%= t_m 'SpeechBalloon.t' -%></th>
11     <th><%= t_m 'SpeechBalloon.caption' -%></th>
12     <th><%= t_m 'SpeechBalloon.settings' -%></th>
13     <th><%= t_m 'SpeechBalloon.created_at' -%></th>
14     <th><%= t_m 'SpeechBalloon.updated_at' -%></th>
15   </tr>
16   
17   <% @speech_balloons.each do |speech_balloon| %>
18     <tr>
19       <td><%= link_to speech_balloon.id, browse_speech_balloon_path(speech_balloon) %></td>
20       <td><%= link_to speech_balloon.panel_id, browse_panel_path(speech_balloon.panel) %></td>
21       <td><%= link_to speech_balloon.speech_balloon_template_id, browse_speech_balloon_template_path(speech_balloon.speech_balloon_template) %></td>
22       <td><%= h(truncate(speech_balloon.classname, :length => 12)) %></td>
23       <td><%= speech_balloon.z %></td>
24       <td><%= speech_balloon.t %></td>
25       <td><%= h(truncate(speech_balloon.caption, :length => 12)) %></td>
26       <td><%= h(truncate(speech_balloon.settings, :length => 12)) %></td>
27       <td><%= l speech_balloon.created_at %></td>
28       <td><%= l speech_balloon.updated_at %></td>
29     </tr>
30   <% end %>
31 </table>