From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 10:57:41 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/my/password.rhtml. X-Git-Tag: 1.3.0~984 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f6fdbb691a155b173e606c49ee17af565408a844;p=redmine.git rename .rhtml to .html.erb of app/views/my/password.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@6979 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/my/password.html.erb b/app/views/my/password.html.erb new file mode 100644 index 000000000..cac79342c --- /dev/null +++ b/app/views/my/password.html.erb @@ -0,0 +1,22 @@ +

<%=l(:button_change_password)%>

+ +<%= error_messages_for 'user' %> + +<% form_tag({}, :class => "tabular") do %> +
+

+<%= password_field_tag 'password', nil, :size => 25 %>

+ +

+<%= password_field_tag 'new_password', nil, :size => 25 %>
+<%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>

+ +

+<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

+
+<%= submit_tag l(:button_apply) %> +<% end %> + +<% content_for :sidebar do %> +<%= render :partial => 'sidebar' %> +<% end %> diff --git a/app/views/my/password.rhtml b/app/views/my/password.rhtml deleted file mode 100644 index cac79342c..000000000 --- a/app/views/my/password.rhtml +++ /dev/null @@ -1,22 +0,0 @@ -

<%=l(:button_change_password)%>

- -<%= error_messages_for 'user' %> - -<% form_tag({}, :class => "tabular") do %> -
-

-<%= password_field_tag 'password', nil, :size => 25 %>

- -

-<%= password_field_tag 'new_password', nil, :size => 25 %>
-<%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>

- -

-<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

-
-<%= submit_tag l(:button_apply) %> -<% end %> - -<% content_for :sidebar do %> -<%= render :partial => 'sidebar' %> -<% end %>