{# Change compared to Django: only render widget.attrs.class in actual option widget, not in wrapper #} {% with id=widget.attrs.id %}