{% extends 'base.html.twig' %} {% block title %}Elections 2018 - Encodage!{% endblock %} {% block body %}

Districts:


{% for d in districts %} {% set difference = date(d.updatedAt).diff(date()) %} {% if d.updatedAt %} {{d}} ({{d.nbBureauxDepouilles}}/{{d.nbBureaux}}) - {{d.updatedAt|date("H:i:s")}}
{% endif %} {% endfor %}

Communes:


{% for d in communes %} {% if d.updatedAt %} {{d}} ({{d.nbBureauxDepouilles}}/{{d.nbBureaux}}) - {{d.updatedAt|date("H:i:s")}}
{% endif %} {% endfor %}
{% endblock %} {% block javascripts %} {% endblock %}