{% load rest_framework %} {{ form.non_field_errors }} {% for field in form %}
{{ field.label_tag|add_class:"fieldset-label-text" }}
{{ field|add_class:"input w-full" }} {{ field.help_text|safe }}
{% endfor %}