2006-06-28 22:11:03 +04:00
|
|
|
<%= error_messages_for 'document' %>
|
2006-09-02 17:33:23 +04:00
|
|
|
<div class="box">
|
2006-06-28 22:11:03 +04:00
|
|
|
<!--[form:document]-->
|
2011-06-17 21:25:56 +04:00
|
|
|
<p><label for="document_category_id"><%=l(:field_category)%> <span class="required">*</span></label>
|
2009-05-31 03:30:36 +04:00
|
|
|
<%= select('document', 'category_id', DocumentCategory.all.collect {|c| [c.name, c.id]}) %></p>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= text_field 'document', 'title', :size => 60 %></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="document_description"><%=l(:field_description)%></label>
|
2007-03-11 17:22:53 +03:00
|
|
|
<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
<!--[eoform:document]-->
|
2006-12-01 01:00:35 +03:00
|
|
|
</div>
|
|
|
|
|
2007-05-27 16:38:29 +04:00
|
|
|
<%= wikitoolbar_for 'document_description' %>
|