OSDN Git Service

pass test:resource picture create
[pettanr/pettanr.git] / app / views / resource_pictures / _form.html.erb
1 <%= form_for(@resource_picture) do |f| %>
2
3   <%= hidden_field_tag :original_picture_id, @original_picture.id %>
4   
5   <%= hidden_field_tag 'original_picture_license_group[original_picture_id]', @original_picture_license_group.original_picture_id %>
6   <%= hidden_field_tag 'original_picture_license_group[license_group_id]', @original_picture_license_group.license_group_id %>
7
8   <%= f.hidden_field :original_picture_id %>
9   <%= f.hidden_field :license_id %>
10   <%= f.hidden_field :artist_name %>
11   <%= f.hidden_field :credit %>
12   <%= f.hidden_field :settings %>
13
14   <div>
15     <%= link_to h(@license_group.caption), license_group_path(@license_group) %>
16     <%= link_to h(@license.caption), license_path(@license) %>
17   </div>
18   <div>
19     artist name:<%= @resource_picture.artist_name %>
20   </div>
21
22   <%= render @license_group.classname.tableize + '/confirm' %>
23
24   <div class="actions">
25     <%= f.submit %>
26   </div>
27 <% end %>