diff --git a/app/views/homework_attach/edit.html.erb b/app/views/homework_attach/edit.html.erb index 19c0d9344..63c3051aa 100644 --- a/app/views/homework_attach/edit.html.erb +++ b/app/views/homework_attach/edit.html.erb @@ -79,17 +79,11 @@ - <% unless @homework.attachments.empty?%> -

- <% options = {:author => true, :deletable => attach_delete(@homework)} %> - <%= render :partial => 'attachments/links', - :locals => {:attachments => @homework.attachments, :options => options} %> -

- <% end %> -

- <%= render :partial => 'attachments/form' %> -

+
+ <%= render :partial => 'attachments/form', :locals => {:container => @homework}%> +

+