add_document.rhtml
14 lines
| 392 B
| text/html+ruby
|
RhtmlLexer
|
r12 | <h2><%=l(:label_document_new)%></h2> | ||
|
r2 | |||
|
r19 | <%= start_form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) %> | ||
|
r12 | <%= render :partial => 'documents/form' %> | ||
|
r19 | |||
<div class="box"> | ||||
<p><label for="attachment_file"><%=l(:label_attachment)%></label> | ||||
<%= file_field 'attachment', 'file' %></p> | ||||
</div> | ||||
|
r2 | |||
|
r12 | <%= submit_tag l(:button_create) %> | ||
|
r2 | <%= end_form_tag %> | ||