| author | rougeronj |
| Wed, 08 Apr 2015 00:36:37 +0200 | |
| changeset 77 | ee963d1c409b |
| parent 68 | b209b49c99fb |
| child 97 | 0afdaa004ee1 |
| permissions | -rw-r--r-- |
| 53 | 1 |
<div class="modal-header ng-scope"> |
2 |
<h3 class="modal-title">Ajouter un nouveau Book</h3> |
|
3 |
</div> |
|
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> |