OSDN Git Service

t#30487:fix export error
[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.settings' -%></th>
11     <th><%= t_m 'SpeechBalloonTemplate.created_at' -%></th>
12     <th><%= t_m 'SpeechBalloonTemplate.updated_at' -%></th>
13   </tr>
14   <% @speech_balloon_templates.each do |speech_balloon_template| %>
15     <tr>
16       <td><%= link_to speech_balloon_template.id, browse_speech_balloon_template_path(speech_balloon_template) %></td>
17       <td>
18         <%= h(truncate(speech_balloon_template.name, :length => 16)) %>
19       </td>
20       <td>
21         <%= h(truncate(speech_balloon_template.classname, :length => 16)) %>
22       </td>
23       <td>
24         <%= h(truncate(speech_balloon_template.caption, :length => 16)) %>
25       </td>
26       <td>
27         <%= speech_balloon_template.t %>
28       </td>
29       <td>
30         <%= h(truncate(speech_balloon_template.settings, :length => 10)) %>
31       </td>
32       <td>
33         <%= l speech_balloon_template.created_at %>
34       </td>
35       <td>
36         <%= l speech_balloon_template.updated_at %>
37       </td>
38     </tr>
39   <% end -%>
40 </table>