blob: 009440191d28d503dba65e668000313322b6d8a2 (
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
|
<!-- templates/signup.html -->
{% load static %}
<!DOCTYPE html>
<html lang="en">
{% include 'header.html' %}
<body data-spy="scroll" data-target="#site-nav">
<div class="se-pre-con"></div>
{% include 'navbar.html' %}
{% block content %}
<section id="login" class="section login">
<div class="container">
<div class="row">
{% if user.is_authenticated %}
Hi {{ user.username }}!
{% else %}
<p>You are not logged in !!!!!</p>
{% endif %}
<h2>Sign up</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Sign up</button>
</form>
</div>
</div>
</div>
</section>
{% endblock %}
{% include 'footer.html' %}
</body>
</html>
|