{% load network_tags %}
{% if form.non_field_errors %}

Please correct the following errors:

{{ form.non_field_errors }}
{% endif %}
{% for field in form %}
{{ field|add_class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5" }} {% if field.help_text %}

{{ field.help_text }}

{% endif %} {% if field.errors %}

{{ field.errors|join:", " }}

{% endif %}
{% endfor %}