diff options
Diffstat (limited to 'app/views/projects/add_document.rhtml')
-rw-r--r-- | app/views/projects/add_document.rhtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/add_document.rhtml b/app/views/projects/add_document.rhtml index 4beb7a94d..dc3103a7b 100644 --- a/app/views/projects/add_document.rhtml +++ b/app/views/projects/add_document.rhtml @@ -1,15 +1,15 @@ <h2><%=l(:label_document_new)%></h2> -
-<% form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) do %>
+ +<% form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) do %> <%= render :partial => 'documents/form' %> -<div class="box">
+<div class="box"> <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%> <%= image_to_function "add.png", "addFileField();return false" %></label> <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p> </div> -
+ <%= submit_tag l(:button_create) %> <% end %> -
+ |