Merge pull request #2670 from DanSheps/2666-fix-length-display

Fixes #2666: Uses correct function for displaying choices label
This commit is contained in:
Jeremy Stretch 2018-12-11 13:45:16 -05:00 committed by GitHub
commit 24d1707693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ CABLE_TERMINATION_PARENT = """
"""
CABLE_LENGTH = """
{% if record.length %}{{ record.length }}{{ record.length_unit }}{% else %}—{% endif %}
{% if record.length %}{{ record.length }}{{ record.get_length_unit_display }}{% else %}—{% endif %}
"""