fixes #2462: An error on the upload page shouldn't wipe out the url/ref params
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
<%= error_messages_for "upload" %>
|
||||
|
||||
<%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => "form"}) do |f| %>
|
||||
<%= hidden_field_tag :url, params[:url] %>
|
||||
<%= hidden_field_tag :ref, params[:ref] %>
|
||||
<%= hidden_field_tag :normalized_url, @normalized_url %>
|
||||
<%= f.hidden_field :referer_url, :value => @source.try(:referer_url) %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user