mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 22:52:26 +00:00
Ajoute le JS que si la liste d'association existe
Evite de casser les form existants
This commit is contained in:
parent
9bf0529cf7
commit
063e964f5a
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% bootstrap_form_errors domainform %}
|
||||
{% endif %}
|
||||
|
||||
{% if type_to_ipv4 %}
|
||||
<script>
|
||||
var type_to_ipv4 = {
|
||||
type: [{% for type, iplist in type_to_ipv4.items %}"{{ type }}",{% endfor %}],
|
||||
|
@ -62,6 +63,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
});
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
|
Loading…
Reference in a new issue