OSDN Git Service

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