{% load helpers %} {# renders panel on object (device, module) with bios info assigned to it #}
BIOS {% if perms.netbox_firmware.change_bios %}
{% with object|meta:"model_name" as object_type %} {% endwith %} Add Assignment
{% endif %}
{% if assignments %}
{% for assignment in assignments %} {% if perms.netbox_firmware.change_biosassignment %} {% endif %} {% endfor %}
Name Status Description Patch date
{{ assignment.bios.name }} {{ assignment.bios.status }} {{ assignment.description }} {{ assignment.patch_date }} Edit
{% else %}

No BIOS assigned voor {{ object }}

{% endif %}