form: add forgotten data-valuecontainerid attribute (#18160)

This commit is contained in:
Frédéric Péters 2017-08-25 11:41:00 +02:00
parent 0fc474f541
commit 17562efd00
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% if widget.get_message %}widget-with-message{% endif %}
{% if widget.is_required %}widget-required{% else %}widget-optional{% endif %}
{% if widget.is_prefilled %}widget-prefilled{% endif %}"
{% if widget.div_id %}id="{{widget.div_id}}"{% endif %}
{% if widget.div_id %}id="{{widget.div_id}}" data-valuecontainerid="form_{{widget.name}}"{% endif %}
{% for attr in widget.prefill_attributes %}
data-{{attr}}="{{widget.prefill_attributes|get:attr}}"
{% endfor %}