]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/custom_fields/new.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 03:54:08 +0000 (03:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 03:54:08 +0000 (03:54 +0000)
: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

app/views/custom_fields/new.html.erb [new file with mode: 0644]
app/views/custom_fields/new.rhtml [deleted file]

diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erb
new file mode 100644 (file)
index 0000000..85f6ef5
--- /dev/null
@@ -0,0 +1,9 @@
+<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
+  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
+  &#187; <%= l(:label_custom_field_new) %></h2>
+
+<% 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 (file)
index 85f6ef5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
-  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
-  &#187; <%= l(:label_custom_field_new) %></h2>
-
-<% 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 %>