2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_document_new)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<%= start_form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) %>
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= render :partial => 'documents/form' %>
|
2006-09-02 17:33:23 +04:00
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<p><label for="attachment_file"><%=l(:label_attachment)%></label>
|
|
|
|
<%= file_field 'attachment', 'file' %></p>
|
|
|
|
</div>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= submit_tag l(:button_create) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= end_form_tag %>
|
|
|
|
|
|
|
|
|