client/app/auth/login_modal.html
author rougeronj
Fri, 22 May 2015 17:42:57 +0200
changeset 94 cb4cf30a1629
parent 68 b209b49c99fb
child 96 3542155549e4
permissions -rw-r--r--
adding possibility to update the informations of a book (title, etc.) and handle 'idBook' parameters in Slide urls to send back only the slides of a book (will replace BooksSlides)

<div class="modal-header ng-scope">
	<h3 class="modal-title">Authentication Page</h3>
</div>

<form ng-submit="login()">
	<div class="modal-body ng-scope">
		<input type="text" class="form-control" ng-model='username' placeholder="Username">
		<input type="password" class="form-control" ng-model='password' placeholder="Password">
	</div>

	<div class="modal-footer ng-scope">
		<a href='' ng-click="register()">Creer un compte</a>
		<button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
		<button type="submit" ng-disabled="userForm.$invalid" class="btn btn-primary">Login</button>
	</div>
</form>