<labelfor='id_owners'>Owner(s)</label><selectid='id_owners'name='assigned_to'multiple='selected'size='5'>{% for u in user_choices %}<optionvalue='{{ u.id }}'{%ifu.id|in_list:owners%}selected='selected'{%endif%}>{{ u.username }}</option>{% endfor %}</select>
<labelfor='id_queues'>Queue(s)</label><selectid='id_queues'name='queue'multiple='selected'size='5'>{% for q in queue_choices %}<optionvalue='{{ q.id }}'{%ifq.id|in_list:queues%}selected='selected'{%endif%}>{{ q.title }}</option>{% endfor %}</select>
<labelfor='id_statuses'>Status(es)</label> {% for s in status_choices %}<inputtype='checkbox'name='status'value='{{ s.0 }}'{%ifs.0|in_list:statuses%}checked='checked'{%endif%}> {{ s.1 }}{% endfor %}