13 lines
352 B
Plaintext
13 lines
352 B
Plaintext
<h2><%=l(:label_document_new)%></h2>
|
|
|
|
<%= start_form_tag( { :action => 'add_document', :id => @project }, :multipart => true) %>
|
|
<%= render :partial => 'documents/form' %>
|
|
|
|
<p><label for="attachment_file"><%=l(:label_attachment)%></label><br/>
|
|
<%= file_field 'attachment', 'file' %></p>
|
|
|
|
<%= submit_tag l(:button_create) %>
|
|
<%= end_form_tag %>
|
|
|
|
|