{% load widget_tweaks %} {% with widget=field.field.widget %} {% if field|widget_type == "checkboxselectmultiple" %}