<div class="page-header">
    <h1>{{'changePasswordHtmlTitle' | translate}}</h1>
</div>

<div class="col-sm-12 content-area password-update">
    <span class="i pficon pficon-info"></span>
    {{'passwordLastUpdateMessage' | translate}} <strong></strong>
</div>

<div class="col-sm-12 content-area">
    <div class="row">
        <div class="col-sm-4 col-md-4">
            <div class="card-pf-subtitle">
                {{'updatePasswordTitle' | translate}}
            </div>
            <div class="introMessage">
                <strong>{{'updatePasswordMessageTitle' | translate}}</strong>
                <p>{{'updatePasswordMessage' | translate}}</p>
            </div>
            <div class="subtitle"><span class="required">*</span> {{'requiredFields' | translate}}</div>
        </div>
        <div class="col-sm-6 col-md-6">
          <form #formGroup="ngForm" (ngSubmit)="changePassword()" class="form-horizontal">
            <input readonly="" value="this is not a login form" style="display: none;" type="text">
            <input readonly="" value="this is not a login form" style="display: none;" type="password">
            <div class="form-group">
                <label for="password" class="control-label">{{'currentPassword' | translate}}</label>
                <input ngModel class="form-control" id="password" name="password" autofocus="" autocomplete="off" type="password">
            </div>

            <div class="form-group">
                <label for="password-new" class="control-label">{{'passwordNew' | translate}}</label>
                <input ngModel class="form-control" id="newPassword" name="newPassword" autocomplete="off" type="password">
            </div>

            <div class="form-group">
                <label for="password-confirm" class="control-label">{{'passwordConfirm' | translate}}</label>
                <input ngModel class="form-control" id="confirmation" name="confirmation" autocomplete="off" type="password">
            </div>

            <div class="form-group">
                <div id="kc-form-buttons" class="submit">
                    <div class="">
                        <button type="submit" class="btn btn-primary btn-lg" name="submitAction">{{'doSave' | translate}}</button>
                    </div>
                </div>
            </div>
          </form>
      </div>
  </div>
</div>
