client/app/books/add_modal.html
author rougeronj
Thu, 04 Jun 2015 20:03:04 +0200
changeset 108 4a152f5f4a09
parent 97 0afdaa004ee1
permissions -rw-r--r--
update user model to authenticate with the email as username
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">
97
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
     2
    <h3 class="modal-title">Ajouter un nouveau Book</h3>
53
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>
97
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
     6
    <div class="modal-body ng-scope">
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
     7
        <input type="text" class="form-control" ng-model='title' placeholder="Titre"></input>
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
     8
    </div>
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
     9
    
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    10
    <div class="modal-footer ng-scope">
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    11
        <button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    12
        <button type="submit" class="btn btn-primary">Create</button>
0afdaa004ee1 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    13
    </div>    
68
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 53
diff changeset
    14
</form>