From 67dbd0160d3bf1230e4f21ed9a10a636168b2fb8 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 17 Jun 2011 10:25:56 -0700 Subject: [PATCH] Document#category should be displayed as a required field --- app/views/documents/_form.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/documents/_form.rhtml b/app/views/documents/_form.rhtml index b118ebdc..37d67d1e 100644 --- a/app/views/documents/_form.rhtml +++ b/app/views/documents/_form.rhtml @@ -1,7 +1,7 @@ <%= error_messages_for 'document' %>
-

+

<%= select('document', 'category_id', DocumentCategory.all.collect {|c| [c.name, c.id]}) %>