diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 10:57:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 10:57:41 +0000 |
commit | f6fdbb691a155b173e606c49ee17af565408a844 (patch) | |
tree | 8f05af596d1b3099c8f97e05365b0f01cdfce017 /app/views/my/password.html.erb | |
parent | 4430983c7420db549fd25fb95e9e38de60862c15 (diff) | |
download | redmine-f6fdbb691a155b173e606c49ee17af565408a844.tar.gz redmine-f6fdbb691a155b173e606c49ee17af565408a844.zip |
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
Diffstat (limited to 'app/views/my/password.html.erb')
-rw-r--r-- | app/views/my/password.html.erb | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ +<h2><%=l(:button_change_password)%></h2> + +<%= error_messages_for 'user' %> + +<% form_tag({}, :class => "tabular") do %> +<div class="box"> +<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label> +<%= password_field_tag 'password', nil, :size => 25 %></p> + +<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label> +<%= password_field_tag 'new_password', nil, :size => 25 %><br /> +<em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p> + +<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> +<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p> +</div> +<%= submit_tag l(:button_apply) %> +<% end %> + +<% content_for :sidebar do %> +<%= render :partial => 'sidebar' %> +<% end %> |