{% load i18n %}{% spaceless %} {% if alignments|length == 1 %} {% with icon="formset/icons/align-"|add:default_alignment|add:".svg" %} {% endwith %} {% else %} {% with icon="formset/icons/align-"|add:default_alignment|add:".svg" %} {% endwith %} {% for alignment in alignments %} {% with icon="formset/icons/align-"|add:alignment|add:".svg" %} {% include icon %} {% endwith %} {% endfor %} {% endif %} {% endspaceless %}