{% extends 'generic/object_detail.html' %} {% load helpers %} {% block content_left_page %}
Cable
Type {{ object.get_type_display|placeholder }}
Status {{ object.get_status_display }}
Label {{ object.label|placeholder }}
Color {% if object.color %}   {% else %} {% endif %}
Length {% if object.length %} {{ object.length }} {{ object.get_length_unit_display }} {% else %} {% endif %}
{% endblock content_left_page %} {% block content_right_page %}
Termination A
{% include 'dcim/inc/cable_termination.html' with termination=object.termination_a %}
Termination B
{% include 'dcim/inc/cable_termination.html' with termination=object.termination_b %}
{% endblock content_right_page %}