{% load i18n %} {% block selector %} {%if lists %} <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> {%endif%} {% endblock %}