annotate .svn/pristine/ca/cade6eedd6319cb3e2496764528bb0106de2f7c9.svn-base @ 1516:b450a9d58aed
redmine-2.4
Update to Redmine SVN revision 13356 on 2.4-stable branch
author |
Chris Cannam |
date |
Tue, 09 Sep 2014 09:28:31 +0100 |
parents |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 <span id="attachments_fields">
|
Chris@909
|
2 <span>
|
Chris@909
|
3 <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil, :class => 'file',
|
Chris@909
|
4 :onchange => "checkFileSize(this, #{Setting.attachment_max_size.to_i.kilobytes}, '#{escape_javascript(l(:error_attachment_too_big, :max_size => number_to_human_size(Setting.attachment_max_size.to_i.kilobytes)))}');" -%>
|
Chris@909
|
5 <label class="inline"><%= l(:label_optional_description) %><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil, :class => 'description' %></label>
|
Chris@909
|
6 <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %>
|
Chris@909
|
7 </span>
|
Chris@909
|
8 </span>
|
Chris@909
|
9 <small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %>
|
Chris@909
|
10 (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
|
Chris@909
|
11 </small>
|