{% load static %} {% with enfant_id=request.GET.enfant %} {% for child in children.items %} {% if child.id|stringformat:"s" == enfant_id %}

Inscrire {{ child.name }}

{% regroup formulaires|dictsort:"keywords" by keywords.0 as forms_groups %} {% for forms_group in forms_groups %} {% with title_slug=forms_group.grouper|slugify %}
{% if "repas" in title_slug %} {% elif "sante" in title_slug %} {% elif "plaine" in title_slug or "inscription" in title_slug %} {% elif "enfant" in title_slug %} {% elif "parent" in title_slug %} {% else %} {% endif %}

{{ forms_group.grouper }}

{% for form in forms_group.list %} {{ form.keywords.1|capfirst }} {% endfor %}
{% endwith %} {% empty %}
Aucune action disponible.
{% endfor %}
{% endif %} {% empty %}
Aucun enfant trouvé. Veuillez sélectionner un enfant.
{% endfor %} {% endwith %}