user-password-view.html
50 lines
| 2.8 KiB
| text/html
|
HtmlLexer
r81 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.password"></ng-include> | |||
r0 | ||||
r81 | <div ng-show="!$ctrl.loading.password"> | |||
r0 | ||||
<div class="panel panel-default"> | ||||
<div class="panel-heading" ng-include="'templates/user/breadcrumbs.html'"></div> | ||||
<div class="panel-body"> | ||||
r81 | <form class="form-horizontal" name="$ctrl.passwordForm" ng-submit="$ctrl.updatePassword()"> | |||
r0 | <div class="form-group" id="row-old_password"> | |||
r81 | <data-form-errors errors="$ctrl.passwordForm.ae_validation.old_password"></data-form-errors> | |||
r0 | <label for="old_password" id="label-old_password" class="control-label col-sm-4 col-lg-3"> | |||
Old Password | ||||
<span class="required">*</span> | ||||
</label> | ||||
<div class="col-sm-8 col-lg-9"> | ||||
r81 | <input class="form-control" id="old_password" name="old_password" type="password" ng-model="$ctrl.form.old_password"> | |||
r0 | </div> | |||
</div> | ||||
<div class="form-group" id="row-new_password"> | ||||
r81 | <data-form-errors errors="$ctrl.passwordForm.ae_validation.new_password"></data-form-errors> | |||
r0 | <label for="new_password" id="label-new_password" class="control-label col-sm-4 col-lg-3"> | |||
New Password | ||||
<span class="required">*</span> | ||||
</label> | ||||
<div class="col-sm-8 col-lg-9"> | ||||
r81 | <input class="form-control" id="new_password" name="new_password" type="password" ng-model="$ctrl.form.new_password"> | |||
r0 | </div> | |||
</div> | ||||
<div class="form-group" id="row-new_password_confirm"> | ||||
r81 | <data-form-errors errors="$ctrl.passwordForm.ae_validation.new_password_confirm"></data-form-errors> | |||
r0 | <label for="new_password_confirm" id="label-new_password_confirm" class="control-label col-sm-4 col-lg-3"> | |||
Confirm Password | ||||
<span class="required">*</span> | ||||
</label> | ||||
<div class="col-sm-8 col-lg-9"> | ||||
r81 | <input class="form-control" id="new_password_confirm" name="new_password_confirm" type="password" ng-model="$ctrl.form.new_password_confirm"> | |||
r0 | </div> | |||
</div> | ||||
<div class="form-group" id="row-submit"> | ||||
<label for="submit" id="label-submit" class="control-label col-sm-4 col-lg-3"></label> | ||||
<div class="col-sm-8 col-lg-9"> | ||||
<input class="form-control SubmitField btn btn-primary" id="submit" name="submit" type="submit" value="Change Password"> | ||||
</div> | ||||
</div> | ||||
</form> | ||||
</div> | ||||
</div> | ||||
</div> | ||||