{% extends "qommon/forms/widgets/map.html" %} {% load qommon l10n %} {% comment %} map field, optional, with template-nearby-list in "css extra classes". {% endcomment %} {% block widget-title %} {% endblock %} {% block widget-content %} {% if form %}

Si votre signalement ne figure pas dans la liste ci-dessous, continuez

{% with distance=form_option_distance|default:100|add:50 %} {% with demands=form.objects.pending|distance_filter:distance %} {% for formdata in demands %}
{{forloop.counter}} {{ formdata.var.type_probleme }}, {% if formdata.var.numero %}{{ formdata.var.numero }} {% endif %}{{ formdata.var.voie }} {{ formdata.var.message }} Signalé le {{ formdata.receipt_date }} +1
{% endfor %} {% endwith %} {% endwith %}
{% else %} {# no form, this is the admin preview #}
Signalements à proximité, prévisualisation impossible.
{% endif %} {% endblock %}