client/app/books/add_modal.html
author rougeronj
Fri, 22 May 2015 12:37:37 +0200
changeset 90 faf2cdb47813
parent 68 b209b49c99fb
child 97 0afdaa004ee1
permissions -rw-r--r--
remove "comment" from the model. Copy the 'comment' field of Jamespot in the 'description' field of the model instead
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
53
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     1
<div class="modal-header ng-scope">
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     2
	<h3 class="modal-title">Ajouter un nouveau Book</h3>
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     3
</div>
dac1df90b49e fucntion and button to add a book
rougeronj
parents:
diff changeset
     4
68
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     5
<form ng-submit="add()" novalidate>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     6
	<div class="modal-body ng-scope">
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     7
		<input type="text" class="form-control" ng-model='title' placeholder="Titre"></input>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     8
	</div>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
     9
	
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    10
	<div class="modal-footer ng-scope">
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    11
		<button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    12
		<button type="submit" class="btn btn-primary">Create</button>
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    13
	</div>	
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    14
</form>