{% load l10n %}

{% for formdata in demands %}
  <li data-id="{{formdata.number}}" class="nearby-form"
    {% localize off %}
      data-geoloc-lat="{{formdata.geoloc.base.lat}}"
      data-geoloc-lon="{{formdata.geoloc.base.lon}}"
    {% endlocalize %}
  >
    <span class="nearby-form--marker-counter" id="nearby-{{forloop.counter}}">{{forloop.counter}}</span>
    {% block problem-digest %}
      <span class="nearby-form--digest">{{ formdata.digest }}</span>
    {% endblock %}
    <span class="nearby-form--datetime">Signalé le <time datetime="{{ formdata.receipt_date|datetime|date:"c" }}">{{ formdata.receipt_date }}</time></span>
    {% if activate_plus1_action == "True" %}
      <button class="nearby-form--plus1" role="button" data-plus1-url="{{formdata.api_url}}hooks/plus1/" aria-label="Même signalement">+1</button>
    {% endif %}
  </li>
{% endfor %}
