]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/settings/_authentication.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 25 Aug 2011 01:20:36 +0000 (01:20 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 25 Aug 2011 01:20:36 +0000 (01:20 +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@6614 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/settings/_authentication.html.erb b/app/views/settings/_authentication.html.erb
new file mode 100644 (file)
index 0000000..90781f0
--- /dev/null
@@ -0,0 +1,23 @@
+<% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
+
+<div class="box tabular settings">
+<p><%= setting_check_box :login_required %></p>
+
+<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>
+
+<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
+                                                                                    [l(:label_registration_activation_by_email), "1"],
+                                                                                    [l(:label_registration_manual_activation), "2"],
+                                                                                    [l(:label_registration_automatic_activation), "3"]] %></p>
+
+<p><%= setting_text_field :password_min_length, :size => 6 %></p>
+
+<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
+
+<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
+
+<p><%= setting_check_box :rest_api_enabled %></p>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>
diff --git a/app/views/settings/_authentication.rhtml b/app/views/settings/_authentication.rhtml
deleted file mode 100644 (file)
index 90781f0..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
-
-<div class="box tabular settings">
-<p><%= setting_check_box :login_required %></p>
-
-<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>
-
-<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
-                                                                                    [l(:label_registration_activation_by_email), "1"],
-                                                                                    [l(:label_registration_manual_activation), "2"],
-                                                                                    [l(:label_registration_automatic_activation), "3"]] %></p>
-
-<p><%= setting_text_field :password_min_length, :size => 6 %></p>
-
-<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
-
-<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
-
-<p><%= setting_check_box :rest_api_enabled %></p>
-</div>
-
-<%= submit_tag l(:button_save) %>
-<% end %>