summaryrefslogtreecommitdiffstats
path: root/app/views/documents/_form.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/documents/_form.rhtml')
-rw-r--r--app/views/documents/_form.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/_form.rhtml b/app/views/documents/_form.rhtml
index b118ebdcf..3e805c198 100644
--- a/app/views/documents/_form.rhtml
+++ b/app/views/documents/_form.rhtml
@@ -2,7 +2,7 @@
<div class="box">
<!--[form:document]-->
<p><label for="document_category_id"><%=l(:field_category)%></label>
-<%= select('document', 'category_id', DocumentCategory.all.collect {|c| [c.name, c.id]}) %></p>
+<%= select('document', 'category_id', DocumentCategory.active.collect {|c| [c.name, c.id]}) %></p>
<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label>
<%= text_field 'document', 'title', :size => 60 %></p>