{# a deck that should contain the list of selected options #}
{% for choice in autocomplete.choices_for_values %}
{{ choice|autocomplete_light_choice_html:autocomplete }}
{% endfor %}
{# a text input, that is the 'autocomplete input' #}
{# A link to add a new choice using a popup #}
{% if autocomplete.add_another_url_name %}
{% endif %}
{# a hidden select, that contains the actual selected values #}
{# a hidden div that serves as template for the 'remove from deck' button #}
{# This will be appended to choices on the deck, it's the remove button #}
X
{% comment %}
the contained element will be used to render options that are added to the select
via javascript, for example in django admin with the + sign
The text of the option will be inserted in the html of this tag
{% endcomment %}