%= f.error_messages %>
<%= f.select :category_id, DocumentCategory.active.collect {|c| [c.name, c.id]} %>
<%= f.text_field :title, :required => true, :size => 60 %>
<%= f.text_area :description, :cols => 60, :rows => 15, :class => 'wiki-edit' %>
<%= render :partial => 'attachments/form', :locals => {:container => @document} %>