Просмотр исходного кода

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

Jeremy Stretch 2 лет назад
Родитель
Сommit
88e4559b5a
1 измененных файлов с 1 добавлено и 1 удалено
  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'), (