{% extends 'web/layout.html' %} {% block main %} Export as CSV

{% for person in people %} {% endfor %}
# Nachname Vorname Email Geburtstag Alter
{{ forloop.counter }}. {{ person.last_name }} {{ person.first_name }} {% if person.emails.count %} {{ person.emails.first }} {% endif %} {% if person.birthday %} {{ person.birthday |date:"d.m.Y" }} {% endif %} {% if person.is_born_today %}⭐{% endif %} {% if person.birthday %} {{ person.age }} {% endif %}
{% endblock %}