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]-->
|
2007-03-12 20:59:02 +03:00
|
|
|
<p><label for="document_category_id"><%=l(:field_category)%></label>
|
|
|
|
<select name="document[category_id]">
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= options_from_collection_for_select @categories, "id", "name", @document.category_id %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</select></p>
|
|
|
|
|
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' %>
|