{% load i18n %} {% block selector %} <form id=list_selector method="post" action="/lists/"> <select name="list"> {% for list in lists %} <option selected="" value="{{list.fqdn_listname}}">{{list.real_name}}</option> {% endfor %} </select> <input type="submit" value="Go to"> </div></form> </form> {% endblock %}