{% load helpers %} {{ rule.index }} {% if rule.action == "remark" %} {{ rule }} {% else %} {% include './policy_rule_address_object_row.html' with address=rule.source_addresses.all address_group=rule.source_address_groups.all %} {% include './policy_rule_user_object_row.html' with user=rule.source_users.all user_group=rule.source_user_groups.all %} {% include './policy_rule_zone_object_row.html' with zone=rule.source_zone %} {% include './policy_rule_service_object_row.html' with service=rule.source_services.all service_group=rule.source_service_groups.all %} {% include './policy_rule_address_object_row.html' with address=rule.destination_addresses.all address_group=rule.destination_address_groups.all %} {% include './policy_rule_zone_object_row.html' with zone=rule.destination_zone %} {% include './policy_rule_service_object_row.html' with service=rule.destination_services.all service_group=rule.destination_service_groups.all %} {% include './policy_rule_application_object_row.html' with application=rule.applications.all application_group=rule.application_groups.all %} {% endif %} {% include './policy_rule_action_row.html' with action=rule.action %} {% if rule.log %} {% else %} {% endif %}