Mercurial > hg > soundsoftware-site
diff app/views/documents/_form.html.erb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | c6c2cbd0afee |
children | 433d4f72a19b |
line wrap: on
line diff
--- a/app/views/documents/_form.html.erb Fri Feb 24 18:36:29 2012 +0000 +++ b/app/views/documents/_form.html.erb Fri Feb 24 19:09:32 2012 +0000 @@ -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>