error.html 761 B

1234567891011121314151617181920212223242526
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <main class="x xdc lg-xdr lg-xw">
  4. <header class="w100 copy-h tac">
  5. <h1>Error</h1>
  6. </header>
  7. <section class="w100 lg-w50 hg-w1200 mw-680px mla mra">
  8. <div class="pt1 pb1-7 copy">
  9. {{ data.error | md | safe }}
  10. <p class="pt1">↪ <a href="/checkout" aria-label="Go to Checkout">Back to cart</a>.</p>
  11. </div>
  12. {% if data.status_code == 422 %}
  13. <form action="/cart/clear" method="POST">
  14. <p class="copy">
  15. Clear your previous order before proceeding with a new one:
  16. <button type="submit fgc-cyan">Clear Order</button>
  17. </p>
  18. <input type="hidden" name="csrftoken" value="{{ request.scope.csrftoken() }}">
  19. </form>
  20. {% endif %}
  21. </section>
  22. </main>
  23. {% endblock %}