mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-28 18:03:45 +00:00
Ajoute le JS que si la liste d'association existe
Evite de casser les form existants
This commit is contained in:
parent
51f8287ee6
commit
bde442bbb9
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