8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 15:33:45 +00:00

Fix l'erreur sur l'utilisation du massive bootstrap form pour l'ipv4

This commit is contained in:
Hugo LEVY-FALK 2018-08-28 12:31:43 +02:00
parent 9fbf17004a
commit e546a2228a

View file

@ -153,7 +153,7 @@ def generate_ipv4_choices(form_obj):
"""
f_ipv4 = form_obj.fields['ipv4']
used_mtype_id = []
choices = '{"":[{key:"",value:'+_("Select a machine type first.},")
choices = '{"":[{key:"",value:"'+_("Select a machine type first.") + '"}'
mtype_id = -1
for ip in (f_ipv4.queryset