From 9f846c5a2c60d66905c46b4e9c381639574d9645 Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 17 Jul 2013 18:44:58 -0400 Subject: [PATCH] fixes #1861 --- app/views/uploads/new.html.erb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index 564249a78..9b9d412e2 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -13,6 +13,15 @@ <%= error_messages_for "upload" %> <%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => 'form'}) do |f| %> + <% if CurrentUser.is_contributor? %> +
+ +
+ <% end %> +
<%= f.label :file %> <%= f.file_field :file, :size => 50 %> @@ -57,15 +66,6 @@ <%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button" %>
- <% if CurrentUser.is_contributor? %> -
- -
- <% end %> -
<%= submit_tag "Submit", :class => "large" %>