8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-07-04 05:04:06 +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')