OSDN Git Service

w
[pettanr/pettanr.git] / app / views / system_pictures / list.html.erb
1 <h1><%= t '.title' -%></h1>
2
3 <table>
4   <tr>
5     <th></th>
6     <th><%= t_m 'SystemPicture.id' -%></th>
7     <th><%= t_m 'SystemPicture.ext' -%></th>
8     <th><%= t_m 'SystemPicture.width' -%></th>
9     <th><%= t_m 'SystemPicture.height' -%></th>
10     <th><%= t_m 'SystemPicture.filesize' -%></th>
11     <th><%= t_m 'SystemPicture.md5' -%></th>
12     <th><%= t_m 'SystemPicture.created_at' -%></th>
13     <th><%= t_m 'SystemPicture.updated_at' -%></th>
14   </tr>
15
16 <% @system_pictures.each do |system_picture| %>
17   <tr>
18     <td><%= link_to tag(:img, system_picture.tmb_opt_img_tag), system_picture.url %></td>
19     <td><%= link_to system_picture.id, browse_system_picture_path(system_picture) %></td>
20     <td><%= h system_picture.ext %></td>
21     <td><%= system_picture.width %></td>
22     <td><%= system_picture.height %></td>
23     <td><%= system_picture.filesize %></td>
24     <td><%= h system_picture.md5 %></td>
25     <td><%= l system_picture.created_at %></td>
26     <td><%= l system_picture.updated_at %></td>
27   </tr>
28 <% end %>
29 </table>