sign in sign up template code example

Example: signup template

{% extends 'base.html' %}
{% load crispy_forms_tags %}

{% block title %}
<title>SignUp</title>
{% endblock %}

{% block body %}
<div class="container">
    <div class="row justify-content-center mt-5">
        <div class="col-5 border shadow rounded p-4">
            <h1 class="font-weight-lighter text-center">Sign Up</h1>
            <form method="POST">
                {% csrf_token %}
                {{ form | crispy }}
                <button class="btn btn-outline-primary btn-block mt-4 py-2">
                    SignUp
                </button>
            </form>
        </div>
    </div>
</div>
{% endblock %}