From a3d9e633c11feb051364b6bcdbef7d10c89859c5 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 26 Aug 2019 17:04:04 -0400 Subject: [PATCH] Always include 'commit' option --- netbox/templates/extras/script.html | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/netbox/templates/extras/script.html b/netbox/templates/extras/script.html index 29cfa60d6..f0be95698 100644 --- a/netbox/templates/extras/script.html +++ b/netbox/templates/extras/script.html @@ -75,22 +75,19 @@ {% endif %}
- {% csrf_token %} - {% if not form.requires_input %} -
- - This script does not require any input to run. + {% csrf_token %} +
+ + This script does not require any input to run. +
+
+
+ Script Data
- {% else %} -
-
- Script Data -
-
- {% render_form form %} -
+
+ {% render_form form %}
- {% endif %} +
Cancel