{% extends 'generic/_base.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% block title %}Manage Field Permission Plugin{% endblock title %} {% block subtitle %} Verify and enable/disable validators in NetBox configuration {% endblock subtitle %} {% block control-buttons %} {% if not validators_statically_configured %}
{% csrf_token %}
{% endif %} {% endblock %} {% block tabs %} {% if validators_statically_configured %} {% endif %} {% endblock tabs %} {% block content %}
{% if validators_statically_configured %} {% endif %} {% if show_manual_install %}

Install custom validator

{% spaceless %}
                    CUSTOM_VALIDATORS = {{ install_validators|json }}
                
{% endspaceless %}

Remove custom validator

{% spaceless %}
                    CUSTOM_VALIDATORS = {{ uninstall_validators|json }}
                
{% endspaceless %}
{% else %} {% for app, table in tables.items %}
{{app | upper}}
{% render_table table 'inc/table.html' %}
{% endfor %} {% endif %}
{% endblock content %}