diff --git a/ereuse_devicehub/templates/inventory/device_create.html b/ereuse_devicehub/templates/inventory/device_create.html index 1ad9a083..1243b41d 100644 --- a/ereuse_devicehub/templates/inventory/device_create.html +++ b/ereuse_devicehub/templates/inventory/device_create.html @@ -70,12 +70,64 @@
- - {{ form.label(class_="form-control") }} - Label that you want link to this device - {% if form.label.errors %} + + {{ form.amount(class_="form-control") }} + Number of devices you want to create of this type + {% if form.amount.errors %}

- {% for error in form.label.errors %} + {% for error in form.amount.errors %} + {{ error }}
+ {% endfor %} +

+ {% endif %} +
+ +
+ + {{ form.phid(class_="form-control") }} + Label that you want link to this device + {% if form.phid.errors %} +

+ {% for error in form.phid.errors %} + {{ error }}
+ {% endfor %} +

+ {% endif %} +
+ +
+ + {{ form.id_device_supplier(class_="form-control") }} + Identity of device for the Supplier + {% if form.id_device_supplier.errors %} +

+ {% for error in form.id_device_supplier.errors %} + {{ error }}
+ {% endfor %} +

+ {% endif %} +
+ +
+ + {{ form.pallet(class_="form-control") }} + Identity of pallet + {% if form.pallet.errors %} +

+ {% for error in form.pallet.errors %} + {{ error }}
+ {% endfor %} +

+ {% endif %} +
+ +
+ + {{ form.info(class_="form-control") }} + Info extra + {% if form.info.errors %} +

+ {% for error in form.info.errors %} {{ error }}
{% endfor %}

@@ -83,7 +135,7 @@
- + {{ form.serial_number(class_="form-control") }} Serial number of this device {% if form.serial_number.errors %} @@ -96,7 +148,7 @@
- + {{ form.model(class_="form-control") }} Name of model {% if form.model.errors %} @@ -109,7 +161,7 @@
- + {{ form.manufacturer(class_="form-control") }} Name of manufacturer {% if form.manufacturer.errors %} @@ -199,7 +251,7 @@
- + {{ form.generation(class_="form-control") }} The generation of the device. {% if form.generation.errors %} @@ -225,7 +277,7 @@
- + {{ form.weight(class_="form-control") }} The weight of the device in Kg. {% if form.weight.errors %} @@ -238,7 +290,7 @@
- + {{ form.width(class_="form-control") }} The width of the device in meters. {% if form.width.errors %} @@ -251,7 +303,7 @@
- + {{ form.height(class_="form-control") }} The height of the device in meters. {% if form.height.errors %} @@ -264,7 +316,7 @@
- + {{ form.depth(class_="form-control") }} The depth of the device in meters. {% if form.depth.errors %}