diff --git a/abonapp/templates/abonapp/editAbon.html b/abonapp/templates/abonapp/editAbon.html index 9cb0b70..1ee030e 100644 --- a/abonapp/templates/abonapp/editAbon.html +++ b/abonapp/templates/abonapp/editAbon.html @@ -42,7 +42,7 @@
- +
@@ -113,23 +113,6 @@ -
-
- {% if device %} - - {{ device.comment|truncatechars:11 }} {{ device.ip_address }} - - - {% trans 'Remove clutch' %} - - {% else %} - - {% trans 'Add clutch' %} - - {% endif %} -
-
- {% if ip %}
@@ -147,36 +130,66 @@
-

{% trans 'DHCP information' %}

+

{% trans 'Select the device' %}

+
-
{% csrf_token %} + {% csrf_token %}
- -
- {{ tech_form.mac }}{{ tech_form.mac.errors }} + +
+ {% if device %}
- +
- {{ tech_form.port }}{{ tech_form.port.errors }} + +
+
+
+
+
-
- - {% trans 'Delete' %} - +
- + {% endif %}