form: add forgotten data-valuecontainerid attribute (#18160)
This commit is contained in:
parent
0fc474f541
commit
17562efd00
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue