-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.html
68 lines (65 loc) · 2.87 KB
/
update.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Update</title>
</head>
<body>
<br> <br>
<div class="container">
<h2>Update Form</h2>
<form ng-submit="updateEntry()">
<div class="mt-3">
<div class="row">
<div class="col-md-4">
<label for="id" class="form-label">Emp Id</label>
<select class="form-select form-select-lg" ng-model="id" id="" required ng-options="data.id for data in datas" ng-change="getId()">
<option selected disabled value="">Select one</option>
</select>
</div>
<div class="offset-md-1 col-md-7">
<label for="name" class="form-label">Emp_Name</label>
<input type="text" ng-model="name" class="form-control" required>
</div>
</div>
</div>
<div class="mt-3">
<div class="row">
<div class="col-md-4">
<label for="amount" class="form-label">Salary</label>
<input type="number" ng-model="amount" class="form-control" required>
</div>
<div class="offset-md-1 col-md-7">
<label for="orVal" class="form-label">Designantion</label>
<input type="text" ng-model="email" class="form-control" required>
</div>
</div>
</div>
<div class="mt-3">
<div class="row">
<div class="col-md-4">
<label for="item" class="form-label">Location</label>
<input type="text" ng-model="item" class="form-control" required>
</div>
<div class="offset-md-1 col-md-7">
<div class="mb-3">
<label for="" class="form-label">Department</label>
<select class="form-select form-select-lg" ng-model="status" id="" required>
<option selected disabled value="">Select one</option>
<option value="HR">HR</option>
<option value="IT">IT</option>
<option value="Sales">Sales</option>
</select>
</div>
</div>
</div>
</div>
<div class="mt-5 d-flex justify-content-center">
<input type="submit" value="Update" class="btn btn-secondary">
</div>
</form>
</div>
</body>
</html>