{% load i18n %} {% with choices_id="bricks-config-widget-"|add:widget.attrs.id %} {{ widget.choices|json_script:choices_id }}