{% extends "wcs/base.html" %}

{% block custom_logo %}
  {% firstof global_context.form_var_template_commune as template_card_id %}
  {% if template_card_id %}
    {% with cards|objects:"commune"|filter_by:"code"|filter_value:template_card_id|first as commune_card %}
    {% include "includes/custom_logo.html" %}
    {% endwith %}
  {% endif %}
{% endblock %}
