OSDN Git Service

w
[pettanr/pettanr.git] / app / views / speech_balloon_templates / list.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th><%= t_m 'SpeechBalloonTemplate.id' -%></th>
6     <th><%= t_m 'SpeechBalloonTemplate.name' -%></th>
7     <th><%= t_m 'SpeechBalloonTemplate.classname' -%></th>
8     <th><%= t_m 'SpeechBalloonTemplate.caption' -%></th>
9     <th><%= t_m 'SpeechBalloonTemplate.t' -%></th>
10     <th><%= t_m 'SpeechBalloonTemplate.system_picture_id' -%></th>
11     <th><%= t_m 'SpeechBalloonTemplate.settings' -%></th>
12     <th><%= t_m 'SpeechBalloonTemplate.created_at' -%></th>
13     <th><%= t_m 'SpeechBalloonTemplate.updated_at' -%></th>
14   </tr>
15   <% @speech_balloon_templates.each do |speech_balloon_template| %>
16     <tr>
17       <td><%= link_to speech_balloon_template.id, browse_speech_balloon_template_path(speech_balloon_template) %></td>
18       <td>
19         <%= h(truncate(speech_balloon_template.name, :length => 16)) %>
20       </td>
21       <td>
22         <%= h(truncate(speech_balloon_template.classname, :length => 16)) %>
23       </td>
24       <td>
25         <%= h(truncate(speech_balloon_template.caption, :length => 16)) %>
26       </td>
27       <td>
28         <%= speech_balloon_template.t %>
29       </td>
30       <td>
31         <%= link_to tag(:img, speech_balloon_template.system_picture.tmb_opt_img_tag), speech_balloon_template_path(speech_balloon_template.system_picture) %>
32       </td>
33       <td>
34         <%= h(truncate(speech_balloon_template.settings, :length => 10)) %>
35       </td>
36       <td>
37         <%= l speech_balloon_template.created_at %>
38       </td>
39       <td>
40         <%= l speech_balloon_template.updated_at %>
41       </td>
42     </tr>
43   <% end -%>
44 </table>