{% if record.kind == 'ambiguous_model' or record.kind == 'no_device_type' %}
{% if record.rule_add_query and perms.netbox_lantronix.add_modelrule %}
Create rule
{% endif %}
{% if record.override_add_query and perms.netbox_lantronix.add_devicetypeoverride %}
Set type for this device
{% endif %}
{% endif %}