Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « passwords « profiles « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ffec6baa20ea307185be06059fcf247f9b3b5cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
- page_title _('New Password')
- breadcrumb_title _('New Password')

%h3.page-title= _('Set up new password')
%hr
= form_for @user, url: profile_password_path, method: :post do |f|
  %p.slead
    = _('Please set a new password before proceeding.')
    %br
    = _('After a successful password update you will be redirected to login screen.')

  = form_errors(@user)

  - unless @user.password_automatically_set?
    .form-group.row
      .col-sm-2.col-form-label
        = f.label :current_password, _('Current password')
      .col-sm-10
        = f.password_field :current_password, required: true, class: 'form-control gl-form-input'
  .form-group.row
    .col-sm-2.col-form-label
      = f.label :password, _('New password')
    .col-sm-10
      = f.password_field :password, required: true, class: 'form-control gl-form-input'
  .form-group.row
    .col-sm-2.col-form-label
      = f.label :password_confirmation, _('Password confirmation')
    .col-sm-10
      = f.password_field :password_confirmation, required: true, class: 'form-control gl-form-input'
  .form-actions
    = f.submit _('Set new password'), class: 'gl-button btn btn-success'