Created
July 16, 2020 06:27
-
-
Save 4k45hv3rm4/73f61676fc0671034e6f3398fde93968 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' %}"> | |
{% csrf_token %} <!-- for security reasons --> | |
{{login_form.as_p}} <!-- rendering form as paragraph --> | |
<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