{% comment %} Reusable "Add Device Type Mapping" form for the import validation modal. Required context: - libre_device (dict-like with device_id, hardware) Optional context: - preselect_device_type: a DeviceType instance to pre-fill the typeahead (used in the existing-device + mismatch branch so a single click maps `libre_device.hardware` → `existing_device.device_type`). - submit_label (defaults to "Add Mapping") {% endcomment %}