-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathupdate.html
32 lines (25 loc) · 994 Bytes
/
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
<!doctype html>
<html lang = "en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, intial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
</head>
<body>
<p>Update Data of ROLLNO :{{.RollNo}}</p>
<form action="/changeValue" method="POST" >
<label for="fname">Change name:</label>
<input type="text" name="name" id="fir" placeholder="name">
<label for="fname">Change age:</label>
<input type="text" name="age" id="fir" placeholder="age">
<label for="fname">Change class:</label>
<input type="text" name="class" id="fir" placeholder="class"><br><br>
<label for="fname">Add skills:</label>
<input type="text" name="skills" id="fir" placeholder="Add skills"><br><br>
<input type="hidden" id="rollno" name="rollno" value={{.RollNo}}>
<input type="submit" value="updateData" >
<br>
<br>
</form>
</body>
</html>