{% load i18n tz controls_custom_filters short_name %}
{% for plan in plans %} {% endfor %} {% if plans %} {% endif %}
{% csrf_token %} {{ qty_formset.management_form }} {% if mode == "update" and remark.history.exists %}
{% for entry in remark.history.all %}
đź“… {{ entry.created_at|timezone:"Europe/Paris"|date:"d/m/Y H:i" }} {{ entry.get_status_display }} ({% translate 'par' %} {{ entry.created_by|short_name|default:entry.created_by.username }})
{% if entry.description %}
{{ entry.description }}
{% endif %} {% if entry.images.exists %}
{% for img in entry.images.all %} {% private_file_url img 'thumbnail' as thumbnail_url %} {% endfor %}
{% endif %}
{% endfor %}

{% endif %}
Info OK NOK

{{ remark_form.description }}

{% if mode == "update" %}
{% translate "Décochez uniquement si vous souhaitez corriger une faute ou modifier la saisie précédente sans ajouter de nouvelle étape à l'historique." %}

{% endif %}

{% for category in categories %} {{ category.get_name }} {% endfor %}

{% translate 'Quantités liées à la remarque' %}
{% translate "Aucune quantité pour l'instant." %}
{% for form in qty_formset.forms %}
{{ form.as_p }}
{% endfor %}
{{ remark_form.control.id }} {% if '/mobile/' in request.path %} {% translate "Annuler" %} {% else %} {% translate "Annuler" %} {% endif %}