mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Merge pull request #3701 from hSaria/3697-custom-scripts-example-typo
Fixes #3697: Correct field_order attribute name
This commit is contained in:
commit
6a451e0c0e
@ -182,7 +182,7 @@ class NewBranchScript(Script):
|
|||||||
class Meta:
|
class Meta:
|
||||||
name = "New Branch"
|
name = "New Branch"
|
||||||
description = "Provision a new branch site"
|
description = "Provision a new branch site"
|
||||||
fields = ['site_name', 'switch_count', 'switch_model']
|
field_order = ['site_name', 'switch_count', 'switch_model']
|
||||||
|
|
||||||
site_name = StringVar(
|
site_name = StringVar(
|
||||||
description="Name of the new site"
|
description="Name of the new site"
|
||||||
|
Loading…
Reference in New Issue
Block a user