OSDN Git Service

fix leaf view
[pettanr/pettanr.git] / app / views / pictures / _tail.html.erb
1 <table>
2   <tr>
3     <td>
4       <%= tag(:img, picture.tail_opt_img_tag(asset_path('error.png'))) -%>
5     </td>
6     <td>
7       <h2>
8         <%= t_m 'Picture.revision' -%>:<%= picture.revision %>
9       </h2>
10       <div>
11         <%= t_m 'Picture.ext' -%>:<%= picture.ext %>
12       </div>
13       <div>
14         <%= t_m 'Picture.width' -%>:<%= picture.width %> px
15       </div>
16       <div>
17         <%= t_m 'Picture.height' -%>:<%= picture.height %> px
18       </div>
19       <div>
20         <%= t_m 'Picture.filesize' -%>:<%= picture.filesize %>bytes
21       </div>
22       <div>
23         <%= t_m 'Picture.md5' -%>:<%= picture.md5 %>
24       </div>
25       <div>
26         <%= t_m 'Picture.artist_id' -%>:<%= link_to h(picture.artist.name), artist_path(picture.artist) %>
27       </div>
28       <div>
29         <%= t_m 'Picture.license_id' -%>:<%= link_to h(picture.license.caption), license_path(picture.license) %>
30       </div>
31       <div>
32         <%= t_m 'Picture.artist_name' -%>:<%= h picture.artist_name %>
33       </div>
34     </td>
35   </tr>
36 </table>