{% extends "dashboard/base.html" %} {% load render_table from django_tables2 %} {% load i18n %} {% load l10n %} {% load staticfiles %} {% load crispy_forms_tags %} {% block title-page %}{{ form.name.value }} | {% trans "vxlan" %}{% endblock %} {% block content %} {% if isMultipleSubnetsAvailable %}
× Warning! Selecting a default subnet for network but there are more than one subnets available. This network might have been created outside of CIRCLE and might not work as expected! {#TODO: users should use default subnet here (or merge subnets?)#}
{% endif %} {% if isSubnetMissing %}
Error! There must be at least one subnet allocated for network! This network might have been created outside of CIRCLE and might not work as expected! Click here to allocate subnet for network. {#TODO: implement. Could be a little more sophisticated?#}
{% endif %}

{% trans "Details of network" %}

{{ form.name|as_crispy_field }} {{ form.networkAddress|as_crispy_field }} {{ form.isDhcpEnabled|as_crispy_field }}

{% trans "connected virtual machines" %}

{% for vm in vms %} {% endfor %}
{{ vm.name }}
{% endblock %}