Skip to content

Instantly share code, notes, and snippets.

@luzfcb
Created October 2, 2013 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luzfcb/6801013 to your computer and use it in GitHub Desktop.
Save luzfcb/6801013 to your computer and use it in GitHub Desktop.
autocomplete_light/widget.html template override to add support to bootstrap css class
{% extends "autocomplete_light/widget.html" %}
{% block input %}
{# a text input, that is the 'autocomplete input' #}
<input type="text" class="textinput textInput form-control" name="{{ name }}-autocomplete" id="{{ widget.html_id }}_text" value="" {{ extra_attrs }} />
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment