{# djlint:off #} {% with numbered|yesno:"ol,ul" as element %} <{{ element }} class="list-group{% if flush %} list-group-flush{% endif %}{% if horizontal %} list-group-horizontal{% if horizontal != True %}-{{ horizontal }}{% endif %}{% endif %} {{ class }}" {{ attrs }}> {{ slot }} {% endwith %} {# djlint:on #}