{% extends 'dcim/device.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% load static %} {% block content %} {% if no_records %}
No DNS Records found.
{% endif %} {% if addressrecords_table %}
{% csrf_token %}
Address Records
{% render_table addressrecords_table 'inc/table.html' %}
{% endif %} {% if ptrrecords_table %}
{% csrf_token %}
PTR Records
{% render_table ptrrecords_table 'inc/table.html' %}
{% endif %} {% if txtrecords_table %}
{% csrf_token %}
TXT Records
{% render_table txtrecords_table 'inc/table.html' %}
{% endif %} {% if cnamerecords_table %}
{% csrf_token %}
CName Records
{% render_table cnamerecords_table 'inc/table.html' %}
{% endif %} {% if locrecords_table %}
{% csrf_token %}
LOC Records
{% render_table locrecords_table 'inc/table.html' %}
{% endif %} {% if sshfprecords_table %}
{% csrf_token %}
SSHFP Records
{% render_table sshfprecords_table 'inc/table.html' %}
{% endif %} {% if srvrecords_table %}
{% csrf_token %}
SRV Records
{% render_table srvrecords_table 'inc/table.html' %}
{% endif %} {% endblock %}