{% extends "base.html" %} {% block title %}Оформление заказа{% endblock %} {% block content %} Оформление заказа Имя покупателя * Номер телефона * Адрес доставки * {{ address or '' }} Подтвердить заказ Ваш заказ {% for item in items %} {{ item.name }} × {{ item.quantity }} {{ "{:,.0f}".format(item.price * item.quantity).replace(',', ' ') }} ₽ {% endfor %} Итого: {{ "{:,.0f}".format(total).replace(',', ' ') }} ₽ {% endblock %}