{% load crispy_forms_field %} {% load template_filters %} {% with 'autori,editori,dokument_osoba,nalezce,vedouci' as list %} {%if widget.name == "let"%} {% endif%} {%if widget.name == "let"%} {% endif%} {% endwith %}