OSDN Git Service

t#30102:update i18n op rp au ar gc gp pc
[pettanr/pettanr.git] / app / views / comics / list.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th><%= t_m 'Comic.id' -%></th>
6     <th><%= t_m 'Comic.title' -%></th>
7     <th><%= t_m 'Comic.visible' -%></th>
8     <th><%= t_m 'Comic.author_id' -%></th>
9     <th><%= t_m 'Comic.created_at' -%></th>
10     <th><%= t_m 'Comic.updated_at' -%></th>
11   </tr>
12
13 <% @comics.each do |comic| %>
14   <tr>
15     <td><%= link_to comic.id, browse_comic_path(comic) %></td>
16     <td><%= h(truncate(comic.title, :length => 12)) %></td>
17     <td><%= comic.visible %></td>
18     <td><%= link_to comic.author_id, browse_author_path(comic.author) %></td>
19     <td><%= l comic.created_at %></td>
20     <td><%= l comic.updated_at %></td>
21   </tr>
22 <% end %>
23 </table>
24