diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index cbffbf8de..6881a5fe8 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -63,7 +63,7 @@ {% endif %} - {{ script.python_class.Meta.description|markdown|placeholder }} + {{ script.python_class.description|markdown|placeholder }} {% if last_job %} {{ last_job.created|isodatetime }} @@ -79,6 +79,9 @@ {% if request.user|can_run:script and script.is_executable %}
+ {% if script.python_class.commit_default %} + + {% endif %} {% csrf_token %}