{% load network_tags %} {% 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.errors %}

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

{% endif %}
{% endfor %}
{% if object %}

Firewall Rules

{% include "networks/group/_rules_list.html" with rules=rules %}
{% else %}

Firewall Rules

You can add firewall rules after creating the group.

{% endif %}