1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 23:24:18 +00:00
This commit is contained in:
Steffo 2017-09-22 08:37:36 +02:00
parent 64dee29ce6
commit f961bee131

View file

@ -145,7 +145,7 @@
<div class="col-xs-10"> <div class="col-xs-10">
<select id="form-rete" class="form-control" name="rete"> <select id="form-rete" class="form-control" name="rete">
{% for rete in reti %} {% for rete in reti %}
<option value="{{ rete.nid }}" {% if (dispositivo and rete.nid == dispositivo.nid) or (action == "add" and rete.network_ip == "0.0.0.0" %}selected{% endif %}>{{ rete.nome }} - {{ rete.network_ip }}/{{ rete.subnet }}</option> <option value="{{ rete.nid }}" {% if (dispositivo and rete.nid == dispositivo.nid) or (action == "add" and rete.network_ip == "0.0.0.0") %}selected{% endif %}>{{ rete.nome }} - {{ rete.network_ip }}/{{ rete.subnet }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>