you can use the following syntax to loop your list
<select> {% for x in list %} <option value="{{x.id}}">{{x.text}}</option> {% endfor %}</select>