{% extends "_base.html" %} {% load network_tags %} {% block title %}{{ action }} Rule - MeshAdmin{% endblock %} {% block content %}

Firewall Rule Information

Rules are evaluated as: port AND proto AND (host OR group OR groups OR cidr) AND local_cidr

At least one of group, groups, or CIDR must be specified to identify which hosts the rule applies to.

{% csrf_token %} {% 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 %}
{% endblock %}