8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 23:43:47 +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 dbcf067296
commit 51f8287ee6

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')