diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index 50ad86486..e412d516c 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -7,7 +7,7 @@ <%= render "image" %> - <%= render "post" %> + <%= render "post", :post => @post %> <%= render "sources/info", :source => @source %> <%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => 'form'}) do |f| %> @@ -17,7 +17,7 @@
- <%= f.label :source, @post.try(:source), :title => "You can enter a URL to have #{Danbooru.config.app_name} automatically download and process it" %> + <%= f.label :source, nil, :title => "You can enter a URL to have #{Danbooru.config.app_name} automatically download and process it" %> <%= f.text_field :source, :size => 50, :value => params[:url] %> <%= button_tag "Similar", :id => "similar-button" %> <%= button_tag "Artist", :id => "find-artist-button" %>