2016-05-10 12:43:52 +02:00
|
|
|
<div class="container-fluid container-fluid-custom" ng-controller="ForgotPasswordController as vm">
|
|
|
|
<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>
|
2016-05-10 12:43:52 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 col-md-offset-2 main-content">
|
2016-05-21 11:20:39 +02:00
|
|
|
<form name="form" class="form-horizontal css-form" ng-submit="form.$valid" >
|
2016-05-10 12:43:52 +02:00
|
|
|
<div class="form-group">
|
2016-05-13 12:48:06 +02:00
|
|
|
<label for="email" class="col-sm-3 control-label">// 'email' | tr //:</label>
|
2016-05-10 12:43:52 +02:00
|
|
|
<div class="col-sm-7">
|
2016-05-16 09:59:36 +02:00
|
|
|
<input type="email" class="form-control" id="email" ng-model="user.email" ng-model-options="{ debounce: 500 }" ng-change="vm.reset()" name="uEmail" required >
|
2016-05-13 12:48:06 +02:00
|
|
|
<p class="help-block small-size-fonts">// 'forgot_password_description' | tr //</p>
|
2016-05-10 12:43:52 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-2">
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="error-message">
|
|
|
|
<div ng-messages="form.uEmail.$error">
|
2016-05-13 12:48:06 +02:00
|
|
|
<span ng-message="required">// 'email_is_required' | tr //</span>
|
2016-05-10 12:43:52 +02:00
|
|
|
</div>
|
2016-05-14 07:34:54 +02:00
|
|
|
<span ng-show="vm.hasError">// vm.errorMessage | tr //</span>
|
2016-05-10 12:43:52 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-offset-8 col-md-10">
|
2016-05-14 07:34:54 +02:00
|
|
|
<input type="submit" class="btn btn-success" ng-disabled="form.$invalid" ng-click="vm.sendMail(user)" value="Send">
|
2016-05-10 12:43:52 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|