Mercurial > hg > soundsoftware-site
diff app/views/my/password.html.erb @ 908:c6c2cbd0afee redmine-1.3
Rename .rhtml files to .html.erb in preparation for merge
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 18:36:29 +0000 |
parents | app/views/my/password.rhtml@513646585e45 |
children | 433d4f72a19b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/my/password.html.erb Fri Feb 24 18:36:29 2012 +0000 @@ -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 %>