{% extends "base.html" %} {% block title %}Admin panel{% endblock %} {% block main %} Review rooms {% for room in data.items() %} {%with room_order = orders[room[0]] %} {% endwith %} {% endfor %} {% endblock %}