{% load i18n %} {% load autocomplete_light_tags %} {% comment %} The outer element is called the 'widget wrapper'. It contains some data attributes to communicate between Python and JavaScript. And of course, it wraps around everything the widget needs. {% endcomment %} {# a text input, that is the 'autocomplete input' #} {# a hidden select, that contains the actual selected values #} {# a deck that should contain the list of selected options #} {# a hidden textarea that contains some json about the channel #} {# a hidden div that serves as template for the 'remove from deck' button #}