{% extends 'config/base.html.j2' %}
{% block config_base %}
{% if is_xhr is not defined %}
{% if interface_count < 1 %}
{% include "config/_no_interface_warning.html.j2" %}
{% elif interface_up_count < 1 %}
{% include "config/_no_interface_up_warning.html.j2" %}
{% endif %}
{% endif %}
{% include '_messages.html.j2' %}
{% if is_xhr is not defined %}
{% if form.current_data["mode"] == "unmanaged" and form.current_data["client_proto_4"] != "none" %}
{% set ipv6_test = False %}
{% include "config/_connection_test.html.j2" %}
{% endif %}
{% if form.current_data["mode"] == "managed" and form.current_data["router_dhcp_enabled"] %}
{% include "config/_dhcp_clients_table.html.j2" %}
{% endif %}