OSDN Git Service

w
[pettanr/pettanr.git] / app / views / resource_pictures / _list_item.html.erb
1   <tr>
2     <td>
3       <%= link_to tag(:img, resource_picture.tmb_opt_img_tag), resource_picture_path(resource_picture) %>
4     </td>
5     <td>
6       <%= render resource_picture.credit_template, :picture => resource_picture %>
7     </td>
8     <td>
9       <%= link_to(h(truncate(resource_picture.artist.name, :length => 8)), artist_path(resource_picture.artist)) %>
10     </td>
11     <td>
12       <%= h resource_picture.ext %>
13     </td>
14     <td>
15       <%= resource_picture.width %>px
16     </td>
17     <td>
18       <%= resource_picture.height %>px
19     </td>
20     <td>
21       <%= resource_picture.filesize %>bytes
22     </td>
23   </tr>