blob: 052fd99f80ff98e391dc6d28dd5b351df6c9c4b1 (
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
|
{% extends "base.html" %}
{% load widget_tweaks %}
{% load static %}
{% block content %}
<section id="cfp" class="section cfp">
<div class="container">
<p>
<center>
{% if user and not user.is_anonymous %}
<h2>Submit Proposal </h2>
{% else %}
<h2>Login</h2>
{% endif %}
</center>
</p>
{% if registration_complete %}
<center>
<p>Thank You for your registration. You can now log in by clicking
<a href="{% url 'arduino_blog:user_login' %}">here!</a>
</p>
<br/>
<br/>
</center>
{% endif %}
<form action="" method="POST">
{% csrf_token %}
{{ form.as_p }}
<button class="btn btn-success" name ="login" type="submit">Login</button>
<br/>
<br/>
<a style="padding-right : 20px;" href="{% url 'arduino_blog:user_register' %}" class="btn btn btn-primary">Create an Account
</a>
<!-- <br><br>
<a href="/2019/forgotpassword/" class="btn btn-primary">Forgot Password?</a> -->
</form>
</p>
<br>
</div>
</section>
{% endblock %}
|