diff options
Diffstat (limited to 'static/website/templates/registration/signup.html')
-rw-r--r-- | static/website/templates/registration/signup.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/static/website/templates/registration/signup.html b/static/website/templates/registration/signup.html new file mode 100644 index 0000000..0094401 --- /dev/null +++ b/static/website/templates/registration/signup.html @@ -0,0 +1,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> |