Commit bde442bb authored by Maël Kervella's avatar Maël Kervella Committed by Pierre Cadart

Ajoute le JS que si la liste d'association existe

Evite de casser les form existants
parent 51f8287e
......@@ -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 %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment