]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/users/_general.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Sep 2011 04:18:20 +0000 (04:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Sep 2011 04:18:20 +0000 (04:18 +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@7047 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/users/_general.html.erb b/app/views/users/_general.html.erb
new file mode 100644 (file)
index 0000000..193fcdd
--- /dev/null
@@ -0,0 +1,7 @@
+<% labelled_tabular_form_for :user, @user, :url => { :controller => 'users', :action => "update", :tab => nil }, :html => { :method => :put, :class => nil } do |f| %>
+       <%= render :partial => 'form', :locals => { :f => f } %>
+       <% if @user.active? && email_delivery_enabled? -%>
+               <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
+       <% end -%>
+       <p><%= submit_tag l(:button_save) %></p>
+<% end %>
diff --git a/app/views/users/_general.rhtml b/app/views/users/_general.rhtml
deleted file mode 100644 (file)
index 193fcdd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<% labelled_tabular_form_for :user, @user, :url => { :controller => 'users', :action => "update", :tab => nil }, :html => { :method => :put, :class => nil } do |f| %>
-       <%= render :partial => 'form', :locals => { :f => f } %>
-       <% if @user.active? && email_delivery_enabled? -%>
-               <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
-       <% end -%>
-       <p><%= submit_tag l(:button_save) %></p>
-<% end %>