summaryrefslogtreecommitdiffstats
path: root/app/views/documents/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/documents/_form.html.erb')
-rw-r--r--app/views/documents/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb
index b5b5fa410..53d8fc3bb 100644
--- a/app/views/documents/_form.html.erb
+++ b/app/views/documents/_form.html.erb
@@ -1,4 +1,4 @@
-<%= f.error_messages %>
+<%= error_messages_for @document %>
<div class="box tabular">
<p><%= f.select :category_id, DocumentCategory.active.collect {|c| [c.name, c.id]} %></p>