{% with input_id=input_id|default:'case-search-input' target_id=target_id|default:'case-search-results' %} {% if collection %} {% endif %} {% if show_select_button %} {% endif %}
Searching cases...
{# Render initial results (search + recent) on initial GET; HTMX searches will replace this div with partial results #} {% include 'atlas/partials/case_search_results.html' with cases=cases recent_cases=recent_cases collection=collection show_select_button=show_select_button %}
{% endwith %}