{% extends 'generic/object_edit.html' %} {% load static %} {% load helpers %} {% load form_helpers %} {% block form %} {# A side termination #}
A Side
{% if 'termination_a_device' in form.fields %} {% render_field form.termination_a_device %} {% endif %} {% if 'termination_a_powerpanel' in form.fields %} {% render_field form.termination_a_powerpanel %} {% endif %} {% if 'termination_a_circuit' in form.fields %} {% render_field form.termination_a_circuit %} {% endif %} {% render_field form.a_terminations %}
{# B side termination #}
B Side
{% if 'termination_b_device' in form.fields %} {% render_field form.termination_b_device %} {% endif %} {% if 'termination_b_powerpanel' in form.fields %} {% render_field form.termination_b_powerpanel %} {% endif %} {% if 'termination_b_circuit' in form.fields %} {% render_field form.termination_b_circuit %} {% endif %} {% render_field form.b_terminations %}
{# Cable attributes #}
Cable
{% render_field form.status %} {% render_field form.type %} {% render_field form.label %} {% render_field form.description %} {% render_field form.color %}
{{ form.length }}
{{ form.length_unit }}
{% render_field form.tags %}
Tenancy
{% render_field form.tenant_group %} {% render_field form.tenant %}
{% if form.custom_fields %}
Custom Fields
{% render_custom_fields form %}
{% endif %} {% if form.comments %}
Comments
{% render_field form.comments %}
{% endif %} {% endblock %}