Skip to content

Commit 210b8bc

Browse files
fix:NoReverseMatch error in question delete template (#1440)
* fix:NoReverseMatch error in question delete template * Rename variable 'item' to 'product' in question_delete.html --------- Co-authored-by: Mario Behling <[email protected]>
1 parent 2e82a3b commit 210b8bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/eventyay/control/templates/pretixcontrol/items/question_delete.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ <h1>{% trans "Delete question" %}</h1>
99
<p>{% blocktrans %}Are you sure you want to delete the question <strong>{{ question }}</strong>?{% endblocktrans %}</p>
1010
{% if dependent|length > 0 %}
1111
<p>{% blocktrans %}All answers to the question given by the buyers of the following products will be <strong>lost</strong>.{% endblocktrans %}</p>
12-
{% for item in dependent %}
13-
<li><a href="{% url "control:event.item" organizer=request.event.organizer.slug event=request.event.slug item=item.pk %}">{{ item.name }}</a></li>
12+
{% for product in dependent %}
13+
<li><a href="{% url "control:event.product" organizer=request.event.organizer.slug event=request.event.slug product=product.pk %}">{{ product.name }}</a></li>
1414
{% endfor %}
1515
{% endif %}
1616
<div class="form-group submit-group">

0 commit comments

Comments
 (0)