Skip to content

Commit 3974089

Browse files
committed
do not add extra data unless explicitly desired
1 parent f05504b commit 3974089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testapp/templates/testapp/form-collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends framework|default:"testapp"|add:"/base.html" %}
22

33
{% block main-content %}
4-
<django-formset endpoint="{{ request.path }}" data-extra="{{ extra_data }}" {% if force_submission %} force-submission{% endif %}{% if withhold_feedback %} withhold-feedback="{{ withhold_feedback }}"{% endif %} csrf-token="{{ csrf_token }}">
4+
<django-formset endpoint="{{ request.path }}"{% if extra_data %} data-extra="{{ extra_data }}"{% endif %}{% if force_submission %} force-submission{% endif %}{% if withhold_feedback %} withhold-feedback="{{ withhold_feedback }}"{% endif %} csrf-token="{{ csrf_token }}">
55
{% include "formset/non_field_errors.html" %}
66
{{ form_collection }}
77
{% include framework|default:"testapp"|add:"/buttons.html" %}

0 commit comments

Comments
 (0)