Created
July 16, 2020 06:15
-
-
Save 4k45hv3rm4/9faa033772968ae3acb11e5afdac37b6 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' %} | |
{% load static %} | |
{%block title %}Login{% endblock %} | |
{% block content %} | |
<div class="container jumbotron text-justify"> | |
<h1 class="display-4">Login Here </h1> | |
<form id="login_form" class="form" method="post" action="{% url 'login' %}"> | |
<!--important for security reasons --> | |
{% csrf_token %} | |
<!--rendring form as paragraph --> | |
{{login_form.as_p}} | |
<input type="submit" class="btn btn-outline-info" value="Login"> | |
</form> | |
<p ><a class="px-2 mx-2 btn btn-link text-decoration-none" href="{%url 'register' %}">Not a Member?</a> | |
</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment