{% for v in selected %} {% include 'django_bkendoz/templates/autoc-input.html' with index=v.index %} {% endfor %} {% include 'django_bkendoz/templates/autoc-input.html' with disabled=True index=index %}