{% extends "base.html" %} {% block base %} {% load django_bootstrap5 %} {% bootstrap_css %} {% bootstrap_javascript %}
{% csrf_token %} {% if 'username' in form.fields %} {% bootstrap_form form %} {% else %} {% bootstrap_form form %} {% endif %}
{% endblock %}