{% extends 'dcim/device/base.html' %} {% load parameter_tags %} {% block extra_controls %} {% if can_edit_parameters %} Edit Custom Fields {% endif %} {% endblock %} {% block content %}
{% for section in sections %}

{{ section.profile.title }}

{% if section.rows %} {% for row in section.rows %} {% endfor %}
{{ row.field.label|default:row.field.name }} {% if row.field.description %} {% endif %} {% parameter_value row %}
{% else %}
No fields are available in this profile.
{% endif %}
{% empty %}
No custom field profiles apply to this device.
{% endfor %}
{% endblock %}