-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreserva
More file actions
34 lines (34 loc) · 1.16 KB
/
reserva
File metadata and controls
34 lines (34 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<h1>Our App</h1>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Lastname</th>
<th>Email</th>
<th>Password</th>
<th>Action</th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<tr >
<td><input class="form-control" ng-model="user.name"></td>
<td><input class="form-control" ng-model="user.lastname"></td>
<td><input class="form-control" ng-model="user.email"></td>
<td><input class="form-control" ng-model="user.password"></td>
<td><button class="btn btn-primary" ng-click="addUser()">Add User</button></td>
<td><button class="btn btn-info" ng-click="update()">update</button></td>
<td><button class="btn btn-info" ng-click="deselect()">Clear</button></td>
</tr>
<tr ng-repeat="user in users">
<td>{{user.name}}</td>
<td>{{user.lastname}}</td>
<td>{{user.email}}</td>
<td>{{user.password}}</td>
<td><button class="btn btn-danger" ng-click="remove(user.id)">Remove</button></td>
<td><button class="btn btn-warning" ng-click="edit(user.id)">Edit</button></td>
<td> </td>
</tr>
</tbody>
</table>