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

{{ title }}

{{ title }}
{% if form.form_errors %}

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

{% endif %}
{{ form.csrf_token }} {% for field in form %} {% if field != form.csrf_token %}
{% if field != form.type %} {{ field.label(class_="form-label") }} {% if field in [form.code, form.lot_name] %} * {% endif %} {{ field }} {% if field.errors %}

{% for error in field.errors %} {{ error }}
{% endfor %}

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