{% extends 'generic/object.html' %} {% load render_table from django_tables2 %} {% load helpers %} {% load form_helpers %} {% load log_levels %} {% load scriptmanager %} {% block content %}
{% if not perms.netbox_script_manager.run_scriptinstance or not perms.netbox_script_manager.view_scriptlogline %}
You do not have permission to run scripts. The user must have both the run action for ScriptInstances and the view action for ScriptLogLines.
{% endif %} {% if not form %}

Script could not be loaded from module path {{object.script_path}}.

{{ exception|format_exception }}
{% else %}
{% csrf_token %}
{# Render grouped fields according to declared fieldsets #} {% for group, fields in fieldsets %} {% if fields %}
{{ group }}
{% for name in fields %} {% with field=form|getfield:name %} {% render_field field %} {% endwith %} {% endfor %}
{% endif %} {% endfor %}
Cancel
{% endif %}
{% include 'inc/panels/custom_fields.html' %}
Script Instance
Name {{ object.name }}
Description {{ object.description|placeholder }}
Weight {{ object.weight|placeholder }}
Group {{ object.Group|placeholder }}
Tenant {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %}
{% endblock content %}