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