summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/documents/_form.html.erb10
1 files changed, 4 insertions, 6 deletions
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| %>
<p><%= custom_field_tag_with_label :document, value %></p>
<% end %>
+
+ <% if @document.new_record? %>
+ <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p>
+ <% end %>
</div>
<%= wikitoolbar_for 'document_description' %>
-
-<% if @document.new_record? %>
- <div class="box tabular">
- <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p>
- </div>
-<% end %>