{# Unit Search Results Partial Rendered by /api/roster/search/units endpoint for HTMX dropdown. Variables: - units: List of unit dicts with id, device_type, note, deployed, display - query: The search query string - show_empty: Boolean - show "no results" message #} {% set picker_id = request.query_params.get('picker_id', '') %} {% if units %} {% for unit in units %}
No units found matching "{{ query }}"
Start typing to search units...
Search by unit ID or note