{% spaceless %} {% with id=widget.attrs.id %} {% endif %} {% endfor %} {% endwith %} {% endspaceless %}