This commit is contained in:
Toks
2013-07-17 18:44:58 -04:00
parent 7c36f2459a
commit 9f846c5a2c

View File

@@ -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? %>
<div class="input">
<label for="upload_as_pending">
<%= f.check_box :as_pending %>
Upload for approval
</label>
</div>
<% end %>
<div class="input">
<%= f.label :file %>
<%= f.file_field :file, :size => 50 %>
@@ -57,15 +66,6 @@
<%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button" %>
</div>
<% if CurrentUser.is_contributor? %>
<div class="input">
<label for="upload_as_pending">
<%= f.check_box :as_pending %>
Upload for approval
</label>
</div>
<% end %>
<div class="input">
<%= submit_tag "Submit", :class => "large" %>
</div>