%= error_messages_for 'document' %>
<%= select('document', 'category_id', DocumentCategory.all.collect {|c| [c.name, c.id]}) %>
<%= text_field 'document', 'title', :size => 60 %>
<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %>