# HG changeset patch # User Chris Cannam # Date 1351268341 -3600 # Node ID 5beffb0393f785e9f19682d4a153f3040c959a2b # Parent a97e573d7f87bd9d0548a37fb523b3b679be7a57# Parent acaa61dde68b37e89c5367be63c395e1d1cca89a Merge diff -r a97e573d7f87 -r 5beffb0393f7 app/views/attachments/_form.html.erb --- a/app/views/attachments/_form.html.erb Thu Oct 25 14:54:46 2012 +0100 +++ b/app/views/attachments/_form.html.erb Fri Oct 26 17:19:01 2012 +0100 @@ -2,10 +2,10 @@ <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil, :class => 'file', :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)))}');" -%> - - <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %> + + <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %> -<%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %> +
<%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %> (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>) diff -r a97e573d7f87 -r 5beffb0393f7 public/stylesheets/application.css --- a/public/stylesheets/application.css Thu Oct 25 14:54:46 2012 +0100 +++ b/public/stylesheets/application.css Fri Oct 26 17:19:01 2012 +0100 @@ -500,7 +500,7 @@ .summary {font-style: italic;} #attachments_fields input[type=text] {margin-left: 8px; } -#attachments_fields span {display:block; white-space:nowrap;} +/*#attachments_fields span {display:block; white-space:nowrap;} */ #attachments_fields img {vertical-align: middle;} div.attachments { margin-top: 12px; }