added multiple file upload for documents and files modules

git-svn-id: http://redmine.rubyforge.org/svn/trunk@130 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-01-01 11:26:56 +00:00
parent 7a03cf92ba
commit ff65a5b22a
7 changed files with 29 additions and 32 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
<%= render :partial => 'documents/form' %>
<div class="box">
<p><label for="attachment_file"><%=l(:label_attachment)%></label>
<%= file_field 'attachment', 'file' %></p>
<p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>&nbsp;
<%= link_to_function image_tag('add'), "addFileField()" %></label>
<%= file_field_tag 'attachments[]', :size => 30 %></p>
</div>
<%= submit_tag l(:button_create) %>