8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-09 03:16:25 +00:00

Merge branch 'hotfix_ipv4_field' into 'dev'

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

See merge request federez/re2o!276
This commit is contained in:
chirac 2018-08-28 12:50:51 +02:00
commit 61bd9de8d1

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