{% extends "ereuse_devicehub/base_site.html" %} {% block main %}

{{ title }}

New Device
{% if form.form_errors %}

{% for error in form.form_errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.csrf_token }}
Type of devices {% if form.type.errors %}

{% for error in form.type.errors %} {{ error }}
{% endfor %}

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

{% for error in form.label.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.serial_number(class_="form-control") }} Serial number of this device {% if form.serial_number.errors %}

{% for error in form.serial_number.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.model(class_="form-control") }} Name of model {% if form.model.errors %}

{% for error in form.model.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.manufacturer(class_="form-control") }} Name of manufacturer {% if form.manufacturer.errors %}

{% for error in form.manufacturer.errors %} {{ error }}
{% endfor %}

{% endif %}
Rate the imperfections that affect the device aesthetically, but not its use. {% if form.appearance.errors %}

{% for error in form.appearance.errors %} {{ error }}
{% endfor %}

{% endif %}
It qualifies the defects of a device that affect its use. {% if form.functionality.errors %}

{% for error in form.functionality.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.brand(class_="form-control") }} A naming for consumers. This field can represent several models, so it can be ambiguous, and it is not used to identify the product. {% if form.brand.errors %}

{% for error in form.brand.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.generation(class_="form-control") }} The generation of the device. {% if form.generation.errors %}

{% for error in form.generation.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.version(class_="form-control") }} The version code o fthis device, like 'v1' or 'A001'. {% if form.version.errors %}

{% for error in form.version.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.weight(class_="form-control") }} The weight of the device in Kg. {% if form.weight.errors %}

{% for error in form.weight.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.width(class_="form-control") }} The width of the device in meters. {% if form.width.errors %}

{% for error in form.width.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.height(class_="form-control") }} The height of the device in meters. {% if form.height.errors %}

{% for error in form.height.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.depth(class_="form-control") }} The depth of the device in meters. {% if form.depth.errors %}

{% for error in form.depth.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.variant(class_="form-control") }} A variant or sub-model of the device. {% if form.variant.errors %}

{% for error in form.variant.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.sku(class_="form-control") }} The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service. {% if form.sku.errors %}

{% for error in form.sku.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.image(class_="form-control") }} An URL containing an image of the device. {% if form.image.errors %}

{% for error in form.image.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.imei(class_="form-control") }} A number from 14 to 16 digits. {% if form.imei.errors %}

{% for error in form.imei.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.meid(class_="form-control") }} 14 hexadecimal digits. {% if form.meid.errors %}

{% for error in form.meid.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.resolution(class_="form-control") }} The resolution width of the screen. {% if form.resolution.errors %}

{% for error in form.resolution.errors %} {{ error }}
{% endfor %}

{% endif %}
{{ form.screen(class_="form-control") }} The size of the screen. {% if form.screen.errors %}

{% for error in form.screen.errors %} {{ error }}
{% endfor %}

{% endif %}
Cancel
{% endblock main %}