Fixes #10897: Fix form widget styling on FHRP group form

This commit is contained in:
jeremystretch
2022-11-14 09:24:12 -05:00
parent 5729a06348
commit d971131198
2 changed files with 6 additions and 0 deletions

View File

@@ -549,6 +549,11 @@ class FHRPGroupForm(NetBoxModelForm):
fields = (
'protocol', 'group_id', 'auth_type', 'auth_key', 'description', 'ip_vrf', 'ip_address', 'ip_status', 'tags',
)
widgets = {
'protocol': StaticSelect(),
'auth_type': StaticSelect(),
'ip_status': StaticSelect(),
}
def save(self, *args, **kwargs):
instance = super().save(*args, **kwargs)