{% load i18n %} {% load autocomplete_light_tags %} {# a deck that should contain the list of selected options #} {{ choices }}
{% for choice in autocomplete.choices_for_values %} {{ choice|autocomplete_light_choice_html:autocomplete }} {% endfor %}
{# a text input, that is the 'autocomplete input' #} {# a hidden select, that contains the actual selected values #} {# a hidden div that serves as template for the 'remove from deck' button #}