diff options
Diffstat (limited to 'app/views/documents/_form.html.erb')
-rw-r--r-- | app/views/documents/_form.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb index 53d8fc3bb..bd3b7cd9f 100644 --- a/app/views/documents/_form.html.erb +++ b/app/views/documents/_form.html.erb @@ -4,6 +4,10 @@ <p><%= f.select :category_id, DocumentCategory.active.collect {|c| [c.name, c.id]} %></p> <p><%= f.text_field :title, :required => true, :size => 60 %></p> <p><%= f.text_area :description, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> + +<% @document.custom_field_values.each do |value| %> + <p><%= custom_field_tag_with_label :document, value %></p> +<% end %> </div> <%= wikitoolbar_for 'document_description' %> |