2006-07-29 19:54:22 +00:00
|
|
|
<h2><%=l(:label_document_new)%></h2>
|
2007-03-12 17:59:02 +00:00
|
|
|
|
|
|
|
<% form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) do %>
|
2006-07-29 19:54:22 +00:00
|
|
|
<%= render :partial => 'documents/form' %>
|
2006-09-02 13:33:23 +00:00
|
|
|
|
2007-03-12 17:59:02 +00:00
|
|
|
<div class="box">
|
2007-01-08 19:21:59 +00:00
|
|
|
<p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>
|
|
|
|
<%= image_to_function "add.png", "addFileField();return false" %></label>
|
2007-01-26 20:02:49 +00:00
|
|
|
<%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
|
2006-09-02 13:33:23 +00:00
|
|
|
</div>
|
2007-03-12 17:59:02 +00:00
|
|
|
|
2006-07-29 19:54:22 +00:00
|
|
|
<%= submit_tag l(:button_create) %>
|
2007-01-26 19:56:25 +00:00
|
|
|
<% end %>
|
2007-03-12 17:59:02 +00:00
|
|
|
|
2006-06-28 18:11:03 +00:00
|
|
|
|