<h5>Thématiques</h5>
{% for tag in tagList %}

    <div class="checkbox">
        <input type="checkbox" id="{{ tag.Keyword|raw }}" value="{{ tag.Keyword }}" {% if tag.Keyword in paramTag %}checked="checked" {% endif %} name="tags[]" class="tags">
        <label for="{{ tag.Keyword|raw }}">{{ tag.Keyword|raw }}</label>

        {% if tag.getChildrenCount() %}
            <span class="btn-toggle icon-down-open-1"></span>
            <div class="sous-thematiques">
                {% for child in tag.getChildren() %}
                    <div class="checkbox">
                        <input type="checkbox" id="tag_{{ child.ID }}" value="{{ child.Keyword }}" {% if child.Keyword in paramTag %}checked="checked" {% endif %} name="tags[]">
                        <label for="tag_{{ child.ID }}">{{ child.Keyword|raw }}</label>
                    </div>
                {% endfor %}
            </div>
        {% endif %}
    </div>
{% endfor %}