{% extends 'base.html' %}
{% load static %}
{% load bootstrap4 %}

{% block title %} Вход {% endblock %}

{% block content %}
<h2>Вход</h2>
<form method="post">
    {% csrf_token %}
    {% bootstrap_form form layout="horizontal" %}
    <input type="hidden" name="next" value="{% url 'main:index' %}">
    {% buttons submit="Вход" %}{% endbuttons %}
</form>
{% endblock %}