Fix form update by adding missing hidden inputs.
This commit is contained in:
parent
f83aa4027d
commit
aa3b1689d4
1 changed files with 24 additions and 0 deletions
|
@ -76,6 +76,9 @@
|
|||
{{ form.name }}
|
||||
{{ form.number }}
|
||||
{{ form.DELETE }}
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type=button" class="remove-button"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
@ -83,6 +86,9 @@
|
|||
{{ phone_form.empty_form.name }}
|
||||
{{ phone_form.empty_form.number }}
|
||||
{{ phone_form.empty_form.DELETE }}
|
||||
{% for hidden in phone_form.empty_form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type="button" class="remove-button"></button>
|
||||
</div>
|
||||
<button type="button" class="add-sub-entry-button">{% trans "Ajouter un numéro" %}</button>
|
||||
|
@ -100,6 +106,9 @@
|
|||
{{ form.name }}
|
||||
{{ form.content }}
|
||||
{{ form.DELETE }}
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type=button" class="remove-button"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
@ -107,6 +116,9 @@
|
|||
{{ social_form.empty_form.name }}
|
||||
{{ social_form.empty_form.content }}
|
||||
{{ social_form.empty_form.DELETE }}
|
||||
{% for hidden in social_form.empty_form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type="button" class="remove-button"></button>
|
||||
</div>
|
||||
<button type="button" class="add-sub-entry-button">{% trans "Ajouter un réseau social" %}</button>
|
||||
|
@ -124,6 +136,9 @@
|
|||
{{ form.name }}
|
||||
{{ form.mail }}
|
||||
{{ form.DELETE }}
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type=button" class="remove-button"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
@ -131,6 +146,9 @@
|
|||
{{ mail_form.empty_form.name }}
|
||||
{{ mail_form.empty_form.mail }}
|
||||
{{ mail_form.empty_form.DELETE }}
|
||||
{% for hidden in mail_form.empty_form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type="button" class="remove-button"></button>
|
||||
</div>
|
||||
<button type="button" class="add-sub-entry-button">{% trans "Ajouter un email" %}</button>
|
||||
|
@ -148,6 +166,9 @@
|
|||
{{ form.name }}
|
||||
{{ form.content }}
|
||||
{{ form.DELETE }}
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type=button" class="remove-button"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
@ -155,6 +176,9 @@
|
|||
{{ address_form.empty_form.name }}
|
||||
{{ address_form.empty_form.content }}
|
||||
{{ address_form.empty_form.DELETE }}
|
||||
{% for hidden in address_form.empty_form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
<button type="button" class="remove-button"></button>
|
||||
</div>
|
||||
<button type="button" class="add-sub-entry-button">{% trans "Ajouter une adresse" %}</button>
|
||||
|
|
Loading…
Reference in a new issue