{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}

{% if taxlist %}
<div class="btn-toolbar filters">
    <div data-toggle="buttons" class="btn-group">
      <label class="btn btn-default" data-filter="">
        <input type="radio" name="options">
        Tous
      </label>
    {% for tax,value in taxlist[taxonomy] %}
        {% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
            <label class="btn btn-default" data-filter="{{tax}}">
              <input type="radio" name="options" >
              {{tax}}
            </label>
    {% endfor %}
      <div class="btn-group">
        <label>
          <a href="/archive">archive</a>
        </label>
      </div>
</div>
</div>

{% endif %}
