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:
1 parent
7a03cf92ba
commit
ff65a5b22a
7 files changed
+29
-32
No files matched your search
@@ -7,8 +7,9 @@
|
||||
<p><label for="version_id"><%=l(:field_version)%> <span class="required">*</span></label>
|
||||
<%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %></p>
|
||||
|
||||
<p><label for="attachment_file"><%=l(:label_attachment)%> <span class="required">*</span></label>
|
||||
<%= file_field 'attachment', 'file' %></p>
|
||||
<p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>
|
||||
<%= link_to_function image_tag('add'), "addFileField()" %></label>
|
||||
<%= file_field_tag 'attachments[]', :size => 30 %></p>
|
||||
</div>
|
||||
<%= submit_tag l(:button_add) %>
|
||||
<%= end_form_tag %>
|
||||
Reference in new issue
Block a user