summaryrefslogtreecommitdiff
path: root/static/website/templates/user-register.html
blob: c5ea3014c9527212859ad949dcfc0314cc0c749a (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
{% extends "base.html" %}
{% load static %}
<div class="se-pre-con"></div>
{% block content %}
    <section id="register" class="section register">
        <div class="container">
            <center>
                <h2>Register</h2>
            </center>
            {% if email_registered %}
            <center>
                <div class="alert" style="width:300px;height:50px;">
                    <a class="close" data-dismiss="alert" href="#">&times;</a>
                    <p>Email ID is already registered !</p>
                </div>
                <p style="line-height:5px;">Have you already logged in using social logins ?</p>
                <p style="line-height:5px;">or</p>
                <p style="line-height:5px;"><a href="{% url 'website:forgotpassword' %}">Click Here</a> if you forgot your username or password</p>
            </center>
            {% endif %}
            {% if registration_complete %}
            <p> Your Account is Created Successfully !</p>
            {% endif %}
        <!--  <div class = "col-md-7">                   
           <div id = "my_form"> -->
            <form action="" method="POST">

                {% csrf_token %}
                {% for field in form %} 
                <p>{{ field.label}}
                    {% if field.field.required %} <span style="color:red;">*</span> {% endif %}
                    {{ field }}
                </p>
                <a style="color:red; ">{{ field.errors }}</a>
                {% endfor %}
                <br>
                <button class="btn btn-primary" type="submit" >SignUp</button>
                <a class="btn btn-primary" href="{% url 'website:cfp' %}" style="text-decoration: none;">I have an account</a>
                <!-- </div> -->
            </form>
        <!--</div>-->
       </section>
{% endblock %}