obsolete.ChilliProject/redmine/app/views/documents/_form.rhtml

16 lines
614 B
Plaintext

<%= error_messages_for 'document' %>
<!--[form:document]-->
<p><label for="document_category_id"><%=l(:field_category)%></label><br />
<select name="document[category_id]">
<%= options_from_collection_for_select @categories, "id", "name", @document.category_id %>
</select></p>
<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label><br />
<%= text_field 'document', 'title', :size => 60 %></p>
<p><label for="document_description"><%=l(:field_description)%></label><br />
<%= text_area 'document', 'description', :cols => 60, :rows => 5 %></p>
<!--[eoform:document]-->