%= 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' %>
<% if User.current.allowed_to?(:add_document_watchers, @project) -%><% @document.project.users.sort.each do |user| -%> <% end -%>
<% end %>