8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 03:43:12 +00:00

Place le machine_type en premier dans le formulaire

Plus logique comme ça
This commit is contained in:
Maël Kervella 2017-10-02 23:56:40 +00:00 committed by Pierre Cadart
parent d890d4ac1e
commit 9bf0529cf7

View file

@ -65,7 +65,7 @@ class EditInterfaceForm(ModelForm):
class AddInterfaceForm(EditInterfaceForm):
class Meta(EditInterfaceForm.Meta):
fields = ['ipv4','mac_address','type','details']
fields = ['type','ipv4','mac_address','details']
def __init__(self, *args, **kwargs):
infra = kwargs.pop('infra')