2012-09-12 17:56:44 +02:00
|
|
|
- if Gitlab.config.omniauth_enabled?
|
|
|
|
%h3.page_title Accounts
|
|
|
|
%hr
|
|
|
|
%p.hint Tip: Click on icon to activate sigin with one of the following services
|
|
|
|
.oauth_select_holder
|
|
|
|
- User.omniauth_providers.each do |provider|
|
|
|
|
%span{class: oauth_active_class(provider) }
|
|
|
|
= link_to authbutton(provider, 32), omniauth_authorize_path(User, provider)
|
|
|
|
|
|
|
|
.clearfix.prepend-top-20
|
2012-06-30 23:35:24 +02:00
|
|
|
%h3.page_title Password
|
2012-05-19 11:00:46 +02:00
|
|
|
%hr
|
2012-08-03 17:27:39 +02:00
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
= form_for @user, url: profile_password_path, method: :put do |f|
|
2012-09-12 17:56:44 +02:00
|
|
|
%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
|
2011-12-18 17:09:59 +01:00
|
|
|
|
2012-09-12 17:56:44 +02:00
|
|
|
.clearfix
|
|
|
|
= f.label :password
|
|
|
|
.input= f.password_field :password
|
|
|
|
.clearfix
|
|
|
|
= f.label :password_confirmation
|
|
|
|
.input= f.password_field :password_confirmation
|
2012-05-19 11:00:46 +02:00
|
|
|
.actions
|
2012-08-29 20:23:43 +02:00
|
|
|
= f.submit 'Save', class: "btn save-btn"
|