{% spaceless %} B {% for check, status in checks.items %} {{ check.0.upper }} {% endfor %} {% endspaceless %}