X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Fresource_pictures%2F_form.html.erb;h=5025683f0b40916514e69cdacf5200b75742fcc3;hb=c71ad3128b20029591010a01dd67fea888b63314;hp=f88aedb25b39742f0c6bc4de34d6845abe20976d;hpb=f985f80273f9db9de0ef8d05b2cd73a752e470e5;p=pettanr%2Fpettanr.git diff --git a/app/views/resource_pictures/_form.html.erb b/app/views/resource_pictures/_form.html.erb index f88aedb2..5025683f 100644 --- a/app/views/resource_pictures/_form.html.erb +++ b/app/views/resource_pictures/_form.html.erb @@ -1,4 +1,3 @@ -

Confirm

<%= form_for(@resource_picture, :url => '/resource_pictures', :method => :post) do |f| %> @@ -10,13 +9,14 @@ <%= f.hidden_field :original_picture_id %> <%= f.hidden_field :license_id %> <%= f.hidden_field :artist_name %> - <%= f.hidden_field :classname %> - <%= f.hidden_field :credit %> - <%= f.hidden_field :settings %> + <%= f.hidden_field :license_group_classname %> + <%= f.hidden_field :license_group_settings %> + <%= f.hidden_field :credit_picture_settings %> + <%= f.hidden_field :license_settings %> - <%= render :partial => @resource_picture.classname.tableize + '/attributes/confirm' %> + <%= render :partial => @resource_picture.license_group_classname.tableize + '/attributes/confirm' %>
- <%= f.submit 'publish' %> + <%= f.submit t 'resource_pictures.new.publish' %>
<% end %>