diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb index ba783deb7..139afe24a 100644 --- a/app/views/documents/_form.html.erb +++ b/app/views/documents/_form.html.erb @@ -11,12 +11,10 @@ <% @document.custom_field_values.each do |value| %>

<%= custom_field_tag_with_label :document, value %>

<% end %> + + <% if @document.new_record? %> +

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

+ <% end %> <%= wikitoolbar_for 'document_description' %> - -<% if @document.new_record? %> -
-

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

-
-<% end %>