mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Place le machine_type en premier dans le formulaire
Plus logique comme ça
This commit is contained in:
parent
dbcf067296
commit
51f8287ee6
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class EditInterfaceForm(ModelForm):
|
||||||
|
|
||||||
class AddInterfaceForm(EditInterfaceForm):
|
class AddInterfaceForm(EditInterfaceForm):
|
||||||
class Meta(EditInterfaceForm.Meta):
|
class Meta(EditInterfaceForm.Meta):
|
||||||
fields = ['ipv4','mac_address','type','details']
|
fields = ['type','ipv4','mac_address','details']
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
infra = kwargs.pop('infra')
|
infra = kwargs.pop('infra')
|
||||||
|
|
Loading…
Reference in a new issue