{% for video_source in video_sources %} {% endfor %} {% for source in subtitle_sources %} {% if source['on'] %} {% else %} {% endif %} {% endfor %}