+
+ You need select first some device before to do one action
+
+ {% for field in form_new_action %}
+ {% if field != form_new_action.csrf_token %}
+ {% if field == form_new_action.devices %}
+ {{ field(class_="devicesList") }}
+ {% elif field == form_new_action.lot %}
+ {{ field(class_="form-control") }}
+ {% elif field == form_new_action.type %}
+ {{ field(class_="form-control") }}
+ {% else %}
+
+ {{ field.label(class_="form-label") }}
+ {{ field(class_="form-control") }}
+ {% if field.errors %}
+
+ {% for error in field.errors %}
+ {{ error }}
+ {% endfor %}
+
+ {% endif %}
+
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+