{% load form_helpers %} {% load helpers %} {% load static %} {% if object.cableinventoryitem %} {% with item=object.cableinventoryitem %}
Cable Inventory Item
Name {{ item|hyperlinked_object }}
Label {{ item.label }}
In use {% if item.cable %}✔{% else %}✘{% endif %}
Owner {{ item.owner|hyperlinked_object }}
Type {{ item.get_type_display|placeholder }}
Plug {{ item.plug }}
Color {% if item.color %}   {% else %} {% endif %}
Length {% if item.length %} {{ item.length }} {{ item.get_length_unit_display }} {% else %} {% endif %}
Supplier {{ item.supplier|hyperlinked_object }}
Storage rack {{ item.storage_rack|hyperlinked_object }}
Procurement identifier {{ item.procurement_ident|placeholder }}
{% endwith %} {% endif %}