From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 03:54:08 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/custom_fields/new.rhtml. X-Git-Tag: 1.3.0~1000 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=312f3e9dd11c84bd56e53f2bcc9d010c8420da19;p=redmine.git rename .rhtml to .html.erb of app/views/custom_fields/new.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@6963 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erb new file mode 100644 index 000000000..85f6ef53e --- /dev/null +++ b/app/views/custom_fields/new.html.erb @@ -0,0 +1,9 @@ +

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> + » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %> + » <%= l(:label_custom_field_new) %>

+ +<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> +<%= render :partial => 'form', :locals => { :f => f } %> +<%= hidden_field_tag 'type', @custom_field.type %> +<%= submit_tag l(:button_save) %> +<% end %> diff --git a/app/views/custom_fields/new.rhtml b/app/views/custom_fields/new.rhtml deleted file mode 100644 index 85f6ef53e..000000000 --- a/app/views/custom_fields/new.rhtml +++ /dev/null @@ -1,9 +0,0 @@ -

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> - » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %> - » <%= l(:label_custom_field_new) %>

- -<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= hidden_field_tag 'type', @custom_field.type %> -<%= submit_tag l(:button_save) %> -<% end %>