mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-03 14:24:23 +01:00
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
|
<div>
|
||
|
<div class="modal-header">
|
||
|
<%= image_tag("fablab-w.png", class: 'modal-logo') %>
|
||
|
<h1>Mot de passe oublié</h1>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
|
||
|
<div class="panel panel-default bg-light">
|
||
|
<div class="panel-body">
|
||
|
<form name="passwordNewForm" class="form-horizontal" ng-keydown="passwordNewForm.$valid && $event.which == 13 && sendReset()">
|
||
|
<div class="form-group" ng-class="{'has-error': emailError}">
|
||
|
<div class="col-sm-12">
|
||
|
<div class="input-group">
|
||
|
<span class="input-group-addon"><i class="fa fa-envelope"></i></span>
|
||
|
<input type="email" name="email" class="form-control"
|
||
|
ng-model="user.email" required="required" ng-blur="emailError = !!passwordNewForm.email.$error.email"
|
||
|
ng-focus="emailError = false" placeholder="Votre adresse email" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
</div>
|
||
|
<div class="panel-footer no-padder">
|
||
|
<button class="btn btn-valid btn-warning btn-block p-l btn-lg text-u-c r-b" ng-click="sendReset()" ng-disabled="passwordNewForm.$invalid">Valider</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|