Mercurial > hg > soundsoftware-site
diff app/views/documents/.svn/text-base/_form.rhtml.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/documents/.svn/text-base/_form.rhtml.svn-base Fri Jul 23 15:52:44 2010 +0100 @@ -0,0 +1,15 @@ +<%= error_messages_for 'document' %> +<div class="box"> +<!--[form:document]--> +<p><label for="document_category_id"><%=l(:field_category)%></label> +<%= select('document', 'category_id', DocumentCategory.all.collect {|c| [c.name, c.id]}) %></p> + +<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label> +<%= text_field 'document', 'title', :size => 60 %></p> + +<p><label for="document_description"><%=l(:field_description)%></label> +<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> +<!--[eoform:document]--> +</div> + +<%= wikitoolbar_for 'document_description' %>