blob: 3d8d38fa1c1ee7387b93088ddc4fa29c21e7c310 (
plain)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
{% extends "base.html" %}
{% load static %}
{% load widget_tweaks %}
<div class="se-pre-con"></div>
{% block content %}
<section id="register" class="section register">
<div class="container">
<center>
<h2>Sign Up</h2>
</center>
{% if form.errors %}
{% for field in form %}
{% for error in field.errors %}
<div class="alert alert-danger">
<strong>{{ error|escape }}</strong>
</div>
{% endfor %}
{% endfor %}
{% endif %}
<form action="" method=POST>
{% csrf_token %}
<!-- <a style="color:red; ">{{ render_field.errors }}</a>-->
<div class="row">
<div class="col-12">
<table class="table table-bordered table-responsive">
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="username">Username:</label>
<span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.username %}
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="username">Email:</label>
<span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.email %}
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="pwd">Password:</label><span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.password %}
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="cnfpwd">Confirm Password:</label><span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.confirm_password %}
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="name">Full Name:</label><span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.title %}{% render_field form.first_name %} {% render_field form.last_name %}
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="contact">Contact:</label><span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.phone_number %}
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline" style="word-wrap: break-word;">
<label for="institute">Institue/ Organization/ Company:</label><span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline" style="word-wrap: break-word;">
{% render_field form.institute %}<br><span style="font-size: 12px;">Enter your institute/ organisation/ company</span>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<label for="how_did_you_hear_about_us" style="word-wrap: break-word;">How did you hear about us:</label><span style="color:red;">*</span>
</div>
</td>
<td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
{% render_field form.how_did_you_hear_about_us %}
</div>
</td>
</tr>
<tr>
<!-- <td style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
</div>
</td> -->
<td colspan="2" style="vertical-align:bottom;border-top:none;!important">
<div class="align-baseline">
<span style="color:red;">*</span> marked fields are mandatory. Please enter the correct information. It will help us to solve your issues in short timespan.
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="row">
<center>
<div class="col-sm-4"> <a class="btn btn-link btn-block" href="{% url 'auth:login' %}">I have an account</a></div>
<div class="col-sm-2"><button class="btn btn-primary btn-block" type="submit">Sign Up</button></div>
</center>
</div>
<!-- </div> -->
</form>
<br>
</div>
<!--</div>-->
</section>
{% endblock %}
|