diff --git a/app/views/files/_course_file.html.erb b/app/views/files/_course_file.html.erb
index c48900426..46a954746 100644
--- a/app/views/files/_course_file.html.erb
+++ b/app/views/files/_course_file.html.erb
@@ -13,7 +13,37 @@
<%= link_to(l(:label_upload_files), 'javascript:void(0);', :class => 'icon m5p5 button_submit', :onclick => "$('#relation_file_div').slideUp();$('#upload_file_div').slideToggle('slow');") if User.current.allowed_to?(:manage_files, @course) %>
<%= link_to(l(:label_relation_files), 'javascript:void(0);', :onclick => "$('#upload_file_div').slideUp();$('#relation_file_div').slideToggle();", :class => 'icon m5p5 button_submit') if User.current.allowed_to?(:manage_files, @course) %>
+
+ <%= render :partial => 'course_new', locals: {course: @course} %>
+
+
+
+
+
diff --git a/app/views/files/_course_new.html.erb b/app/views/files/_course_new.html.erb
index f864f8629..2eaa70cb6 100644
--- a/app/views/files/_course_new.html.erb
+++ b/app/views/files/_course_new.html.erb
@@ -20,28 +20,6 @@
<% end %>
-
-
-