{% load bootstrap5 %} {% for error in form.non_field_errors %} {% endfor %} {% for field in form %} {% bootstrap_field field %} {% endfor %}