2012-07-01 00:35:24 +03:00
|
|
|
%h3.page_title Password
|
2012-05-19 12:00:46 +03:00
|
|
|
%hr
|
2012-08-10 18:07:50 -04:00
|
|
|
= form_for @user, url: profile_password_path, method: :put do |f|
|
2012-05-19 12:00:46 +03:00
|
|
|
.data
|
2012-07-01 00:35:24 +03:00
|
|
|
%p.slead After successful password update you will be redirected to login page where you should login with new password
|
2012-05-19 12:00:46 +03:00
|
|
|
-if @user.errors.any?
|
|
|
|
.alert-message.block-message.error
|
|
|
|
%ul
|
|
|
|
- @user.errors.full_messages.each do |msg|
|
|
|
|
%li= msg
|
2011-12-18 18:09:59 +02:00
|
|
|
|
2012-05-19 12:00:46 +03:00
|
|
|
.clearfix
|
|
|
|
= f.label :password
|
|
|
|
.input= f.password_field :password
|
|
|
|
.clearfix
|
|
|
|
= f.label :password_confirmation
|
|
|
|
.input= f.password_field :password_confirmation
|
|
|
|
.actions
|
2012-08-29 21:23:43 +03:00
|
|
|
= f.submit 'Save', class: "btn save-btn"
|