<div class="filter-row filter-params">
   <button type="button" class="filter-label"
           data-opener="[data-opener-tags]">Stitek
   </button>

   <div class="opener-content" data-opener-param-tags>
      <div>
         {get_articles_tags onlyActive=true assign='tags'}
          {foreach $tags as $tag}
             <label class="custom-control custom-checkbox" for="filter_tags[{$tag.id}]">
                <input type="checkbox" name="dynamic_filter[tags][]" value="{$tag.id}"
                       class="custom-control-input" id="filter_tags[{$tag.id}]"
                       data-filter-input="stitky">
                <span class="custom-control-indicator"></span>
                <span class="custom-control-text">
                      {$tag.tag}
               </span>
             </label>
          {/foreach}
      </div>

   </div>
</div>