diff --git a/netbox/templates/extras/script.html b/netbox/templates/extras/script.html index f0be95698..fc10db80f 100644 --- a/netbox/templates/extras/script.html +++ b/netbox/templates/extras/script.html @@ -76,18 +76,22 @@ {% endif %}
{% csrf_token %} -
- - This script does not require any input to run. -
-
-
- Script Data + {% if form.requires_input %} +
+
+ Script Data +
+
+ {% render_form form %} +
-
- {% render_form form %} + {% else %} +
+ + This script does not require any input to run.
-
+ {% render_form form %} + {% endif %}
Cancel