mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix form field ordering
This commit is contained in:
@ -393,5 +393,5 @@ class ScriptForm(BootstrapMixin, forms.Form):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
# Dynamically populate fields for variables
|
||||
for name, var in vars:
|
||||
for name, var in vars.items():
|
||||
self.fields[name] = var.as_field()
|
||||
|
Reference in New Issue
Block a user