{% load i18n %} {% comment %} TODO: "How to Use Bootstrap 4 Forms With Django" https://simpleisbetterthancomplex.com/tutorial/2018/08/13/how-to-use-bootstrap-4-forms-with-django.html {% endcomment %}
{% csrf_token %} {% comment %} {% bootstrap_form form layout='horizontal' %} {% buttons %}
{% endbuttons %} {% endcomment %} {{ form }}