6a58deb536
* .page_title class added. Used for better page headers * improved help page * added back links for help pages * show app version & revision on help page Backend changes: * Gitab::Version && Gitlab::Revision constants
19 lines
632 B
Text
19 lines
632 B
Text
%h3.page_title Password
|
|
%hr
|
|
= form_for @user, :url => profile_password_path, :method => :put do |f|
|
|
.data
|
|
%p.slead After successful password update you will be redirected to login page where you should login with new password
|
|
-if @user.errors.any?
|
|
.alert-message.block-message.error
|
|
%ul
|
|
- @user.errors.full_messages.each do |msg|
|
|
%li= msg
|
|
|
|
.clearfix
|
|
= f.label :password
|
|
.input= f.password_field :password
|
|
.clearfix
|
|
= f.label :password_confirmation
|
|
.input= f.password_field :password_confirmation
|
|
.actions
|
|
= f.submit 'Save', :class => "btn primary"
|