{% comment %} Reusable "Add Platform Mapping" form for the import validation modal. Required context: - libre_device (dict-like with device_id, os) Optional: - preselect_platform: a Platform instance to pre-fill the typeahead. - submit_label {% endcomment %}
{% csrf_token %} {% if server_key %}{% endif %}
{# Disabled until a typeahead item is chosen (or a preselect value is present). #}