OSDN Git Service

d938287638d31dc4f3b49549dd437d3d8450d394
[pettanr/pettanr.git] / app / views / panel_pictures / new.html.erb
1 <h1><%= t('.title') %></h1>
2 <h2><%= t('home.index.catch') -%></h2>
3 <%= render 'panels/standard', :panel => @panel, :author => @author %>
4 <h2><%= t('panel_pictures.resource_picture') -%></h2>
5 <% if @panel_picture.picture and @panel_picture.picture.resource_picture %>
6   <table>
7     <tr>
8       <th></th>
9       <th></th>
10       <th><%= t_m 'ResourcePicture.artist_id' -%></th>
11       <th><%= t_m 'ResourcePicture.ext' -%></th>
12       <th><%= t_m 'ResourcePicture.width' -%></th>
13       <th><%= t_m 'ResourcePicture.height' -%></th>
14       <th><%= t_m 'ResourcePicture.filesize' -%></th>
15     </tr>
16
17     <%= render 'resource_pictures/list_item', :resource_picture => @panel_picture.picture.resource_picture %>
18   </table>
19 <% end %>
20 <%= render 'form' %>