-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudentsignup.html
More file actions
73 lines (59 loc) · 2.22 KB
/
studentsignup.html
File metadata and controls
73 lines (59 loc) · 2.22 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
{% load widget_tweaks %}
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<style>
form{
margin: 50px;
}
</style>
</head>
<body>
{% include "quiz/navbar.html" %}
<br><br><br>
<h3 style="text-align: center;color: red;">STUDENT SIGNUP</h3>
<form method="POST" autocomplete="off" enctype="multipart/form-data">
{% csrf_token %}
<div class="form-row">
<div class="form-group col-md-6">
<label for="username">Username</label>
{% render_field userForm.username|attr:'required:true' class="form-control" placeholder="username" %}
</div>
<div class="form-group col-md-6">
<label for="inputPassword4">Password</label>
{% render_field userForm.password|attr:'required:true' class="form-control" placeholder="password" %}
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="first_name">First Name</label>
{% render_field userForm.first_name|attr:'required:true' class="form-control" placeholder="First Name" %}
</div>
<div class="form-group col-md-6">
<label for="last_name">Last Name</label>
{% render_field userForm.last_name|attr:'required:true' class="form-control" placeholder="Last Name" %}
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="mobile">Mobile</label>
{% render_field studentForm.mobile|attr:'required:true' class="form-control" placeholder="Mobile" %}
</div>
<div class="form-group col-md-6">
<label for="address">Address</label>
{% render_field studentForm.address|attr:'required:true' class="form-control" placeholder="Address" %}
</div>
</div>
<div class="form-row">
<div class="form-group col-md-12">
<label for="profile_pic">Profile Picture</label>
{% render_field studentForm.profile_pic|attr:'required:true' class="form-control" placeholder="" %}
</div>
</div>
<button type="submit" class="btn btn-primary">Sign Up</button>
</form>
<br><br>
{% include "quiz/footer.html" %}
</body>
</html>