Gift cards: Remove nested form tags

This commit is contained in:
Raphael Michel
2025-10-30 18:03:47 +01:00
parent b07a61e4f1
commit 41780add40

View File

@@ -9,7 +9,6 @@
<span class="sr-only">{% trans "Information" %}</span> <span class="sr-only">{% trans "Information" %}</span>
{% trans "The following gift cards are available in your customer account:" %} {% trans "The following gift cards are available in your customer account:" %}
</strong></p> </strong></p>
<form method="post">
{% csrf_token %} {% csrf_token %}
<ul class="list-group"> <ul class="list-group">
{% for c in customer_gift_cards %} {% for c in customer_gift_cards %}
@@ -30,6 +29,5 @@
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</form>
{% endif %} {% endif %}
{% bootstrap_form form layout='checkout' %} {% bootstrap_form form layout='checkout' %}