mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Place le machine_type en premier dans le formulaire
Plus logique comme ça
This commit is contained in:
parent
d890d4ac1e
commit
9bf0529cf7
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