{% 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 not wan_status.up %} {% if wan_status.proto == "ppoe" %}
{% trans %}You WAN configuration is probably not correct or your WAN interface hasn't been properly initialized yet.{% endtrans %}
{% else %}
{% trans %}WAN port has no link, your internet connection probably won't work.{% endtrans %}
{% endif %} {% elif interface_up_count < 1 %} {% include "config/_no_interface_up_warning.html.j2" %} {% endif %} {% endif %}

{{ description|safe }}

{% include '_messages.html.j2' %} {% for field in form.active_fields %} {% include '_field.html.j2' %} {% endfor %}
{% trans %}Discard changes{% endtrans %}
{% if is_xhr is not defined %} {% set ipv6_test = form.current_data["wan6_proto"] != "none" %} {% include "config/_connection_test.html.j2" %}
{% endif %} {% endblock %}