-
Notifications
You must be signed in to change notification settings - Fork 1
/
edit.html
22 lines (22 loc) · 1.03 KB
/
edit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="container">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4 grey lighten-4 p-5 mt-5">
<h3 class="text-center">Edit Student Data</h3>
<div class="md-form mb-0">
<input type="text" id="name" class="form-control" ng-model="student.name">
<label for="name">Name</label>
</div>
<div class="md-form mb-0">
<input type="text" id="dept" class="form-control" ng-model="student.dept">
<label for="dept">Department</label>
</div>
<div class="md-form mb-0">
<input type="text" id="sem" class="form-control" ng-model="student.sem">
<label for="sem">Semester</label>
</div>
<button class="btn btn-primary" ng-click="edit(student.$id)">Update</button>
</div>
<div class="col-md-4"></div>
</div>
</div>