{% for k,v in v1 %}
{% for option in opts[k] %}
{% endfor %}
{% endfor %} {% for k,v in v2 %}
{% for option in opts[k] %}
{% endfor %}
{% endfor %}