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

<%= 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 %> + » <%=h @custom_field.name %>

+ +<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> +<%= render :partial => 'form', :locals => { :f => f } %> +<%= submit_tag l(:button_save) %> +<% end %> diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml deleted file mode 100644 index 2790c2c9e..000000000 --- a/app/views/custom_fields/edit.rhtml +++ /dev/null @@ -1,8 +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 %> - » <%=h @custom_field.name %>

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