Created
July 16, 2020 06:29
-
-
Save 4k45hv3rm4/d982a857b313647b1c40d59d786341e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'base.html' %} | |
{%block title %}Register{% endblock %} | |
{% block content %} | |
<div class="container jumbotron"> | |
{% if registered %} | |
<strong>Thank You for Registering with Us.</strong> | |
<a href="{% url 'index' %}" class="btn-link btn">Return to the HomePage</a><br> | |
{% else %} | |
<strong class="display-3 mb-4">Register Here... </strong> | |
<form action="{% url 'register' %}" class="pt-3" method="POST"> | |
{% csrf_token %} | |
{{ registration_form.as_p }} | |
<input type="submit" name="submit" value="Register" class="btn btn-success"> | |
<p class="p-2 m-1">Already a Member? <a href="{% url 'login' %}">Sign In Here...</a></p> | |
</form> | |
{% endif %} | |
</div> | |
{% endblock %} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment