{% for component_key, component_value in component.items %}
{% if component_key not in 'actions,type' %}
{% if component_key != 'serialNumber' or user.is_authenticated %}
{{ component_key }}: {{ component_value }}
{% endif %}
{% endif %}
{% endfor %}