Fix login form submit on enter.
This commit is contained in:
parent
4218b741db
commit
e90f4d21e8
@ -3,8 +3,8 @@
|
|||||||
<h3 class="modal-title" id="modal-title">Authentification requise</h3>
|
<h3 class="modal-title" id="modal-title">Authentification requise</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-body" id="modal-body">
|
<form class="form-horizontal" ng-submit="$crlt.ok()">
|
||||||
<form class="form-horizontal">
|
<div class="modal-body" id="modal-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="email" class="col-sm-4 control-label">Adresse email</label>
|
<label for="email" class="col-sm-4 control-label">Adresse email</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
@ -20,14 +20,12 @@
|
|||||||
ng-model="$ctrl.data.password" placeholder="Mot de passe">
|
ng-model="$ctrl.data.password" placeholder="Mot de passe">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="btn btn-primary" type="button" ng-click="$ctrl.ok()">
|
<input class="btn btn-primary" type="submit" ng-click="$ctrl.ok()" value="OK"/>
|
||||||
OK
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-default" type="button" ng-click="$ctrl.cancel()">
|
<button class="btn btn-default" type="button" ng-click="$ctrl.cancel()">
|
||||||
Annuler
|
Annuler
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user