-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate-user.html
More file actions
52 lines (46 loc) · 1.89 KB
/
Copy pathupdate-user.html
File metadata and controls
52 lines (46 loc) · 1.89 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Update Profile</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/update-profile.css" />
</head>
<body class="bg-light">
<div class="container mt-5">
<div class="card shadow-lg">
<div class="card-header bg-primary text-white">
<h4 class="mb-0">Update Your Profile</h4>
</div>
<div class="card-body">
<form id="updateForm">
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" placeholder="Enter your email" required />
</div>
<div class="mb-3">
<label for="phoneNumber" class="form-label">Phone Number</label>
<input type="text" class="form-control" id="phoneNumber" placeholder="Enter phone number (+91...)" required />
</div>
<div class="mb-3">
<label for="dob" class="form-label">Date of Birth</label>
<input type="date" class="form-control" id="dob" required />
</div>
<div class="mb-3">
<label for="role" class="form-label"></label>
<input type="text" class="form-control" id="role" hidden />
</div>
<div class="mb-3">
<label for="createdAt" class="form-label"></label>
<input type="text" class="form-control" id="createdAt" hidden />
</div>
<button type="submit" class="btn btn-success">Update Profile</button>
</form>
</div>
</div>
</div>
<script type="module" src="js/update-user.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>