diff options
Diffstat (limited to 'app/views/projects/add_document.rhtml')
-rw-r--r-- | app/views/projects/add_document.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/add_document.rhtml b/app/views/projects/add_document.rhtml index 37e0b7d60..b570eabbd 100644 --- a/app/views/projects/add_document.rhtml +++ b/app/views/projects/add_document.rhtml @@ -4,8 +4,8 @@ <%= render :partial => 'documents/form' %> <div class="box">
-<p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%> -<%= link_to_function image_tag('add'), "addFileField()" %></label> +<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) %>: <%= human_size(Attachment.max_size) %>)</em></p> </div> |