Sfoglia il codice sorgente

Fixes #14885: Add missing 'group' field to tunnel creation form

Jeremy Stretch 2 anni fa
parent
commit
88e4559b5a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      netbox/vpn/forms/model_forms.py

+ 1 - 1
netbox/vpn/forms/model_forms.py

@@ -141,7 +141,7 @@ class TunnelCreateForm(TunnelForm):
     )
 
     fieldsets = (
-        (_('Tunnel'), ('name', 'status', 'encapsulation', 'description', 'tunnel_id', 'tags')),
+        (_('Tunnel'), ('name', 'status', 'group', 'encapsulation', 'description', 'tunnel_id', 'tags')),
         (_('Security'), ('ipsec_profile',)),
         (_('Tenancy'), ('tenant_group', 'tenant')),
         (_('First Termination'), (