OSDN Git Service

t#30102:update i18n op rp au ar gc gp pc
[pettanr/pettanr.git] / app / views / artists / index.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th><%= t_m 'Artist.name' -%></th>
6     <th><%= t_m 'Artist.created_at' -%></th>
7     <th><%= t_m 'Artist.updated_at' -%></th>
8   </tr>
9
10   <% @artists.each do |artist| %>
11     <tr>
12       <td><%= link_to h(truncate(artist.name, :length => 12)), artist_path(artist) %></td>
13       <td><%= distance_of_time_in_words_to_now artist.created_at %></td>
14       <td><%= distance_of_time_in_words_to_now artist.updated_at %></td>
15     </tr>
16   <% end %>
17 </table>