harbor/views/forgot-password.htm

38 lines
2.1 KiB
HTML
Raw Normal View History

2016-06-25 21:12:17 +02:00
<div class="container-fluid container-fluid-custom" element-height ng-controller="ForgotPasswordController as vm">
<modal-dialog modal-title="// vm.modalTitle //" modal-message="// vm.modalMessage //" confirm-only="vm.confirmOnly" action="vm.action()"></modal-dialog>
<div class="container container-custom">
<div class="row extend-height">
<div class="section">
2016-05-13 12:48:06 +02:00
<h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'forgot_password' | tr //</h1>
<div class="row">
<div class="col-md-12 col-md-offset-2 main-content">
<form name="form" class="form-horizontal css-form" novalidate>
<div class="form-group">
2016-05-13 12:48:06 +02:00
<label for="email" class="col-sm-3 control-label">// 'email' | tr //:</label>
<div class="col-sm-7">
<input type="email" class="form-control" id="email" ng-model="user.email" ng-model-options="{ debounce: 500 }" ng-change="vm.reset()" name="uEmail" required data-target="email">
2016-05-13 12:48:06 +02:00
<p class="help-block small-size-fonts">// 'forgot_password_description' | tr //</p>
</div>
<div class="col-sm-2">
<span class="asterisk">*</span>
</div>
</div>
<div class="error-message">
<div ng-messages="form.$submitted && form.uEmail.$error">
2016-05-13 12:48:06 +02:00
<span ng-message="required">// 'email_is_required' | tr //</span>
<span ng-message="email">// 'email_content_illegal' | tr //</span>
</div>
2016-05-14 07:34:54 +02:00
<span ng-show="vm.hasError">// vm.errorMessage | tr //</span>
</div>
<div class="form-group">
<div class="col-md-offset-8 col-md-10">
<button type="submit" class="btn btn-success" ng-click="form.$valid && vm.sendMail(user)" loading-progress hide-target="false" toggle-in-progress="vm.toggleInProgress">// 'send' | tr //</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>