{# htmx partial: single review card — swapped in after each classification #} {% if contact is none or contact is not defined %}

All done!

{{ done | default(0) }} contacts reviewed. No more contacts pending review.

Back to Dashboard
{% else %}
{# Progress counter #}
{{ done | default(0) }} reviewed — {{ remaining | default(0) }} remaining

{{ contact.name }}

Title: {{ contact.title or "—" }}

Company: {{ contact.company or "Unknown" }}

Interactions: {{ contact.total_interactions }}

{% if contact.notes %}

Notes: {{ contact.notes }}

{% endif %} {# Learned suggestion #} {% if contact.suggestion %}
Suggestion: {{ contact.suggestion }} ({{ contact.suggestion_confidence }}% confidence) {% if contact.suggestion_reason %}
Reason: {{ contact.suggestion_reason }} {% endif %}
{% endif %} {# Classification form #}
{# Optional company override #}
Set/change company
{# Notes #} {# Action buttons #}
{% endif %}