From: Toshi MARUYAMA Date: Wed, 24 Aug 2011 05:06:50 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/attachments/_form.rhtml. X-Git-Tag: 1.3.0~1386 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d04a210a8fec0d5168547de57383d9910b568ff3;p=redmine.git rename .rhtml to .html.erb of app/views/attachments/_form.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6575 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/attachments/_form.html.erb b/app/views/attachments/_form.html.erb new file mode 100644 index 000000000..b936af198 --- /dev/null +++ b/app/views/attachments/_form.html.erb @@ -0,0 +1,10 @@ + + + <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil, :class => 'file' -%> + + <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %> + + +<%= 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 --git a/app/views/attachments/_form.rhtml b/app/views/attachments/_form.rhtml deleted file mode 100644 index b936af198..000000000 --- a/app/views/attachments/_form.rhtml +++ /dev/null @@ -1,10 +0,0 @@ - - - <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil, :class => 'file' -%> - - <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %> - - -<%= 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) %>) -