{# Verdict action region for one finding card. Rendered inline by cc_findings.html and re-rendered in place by POST /verdicts and /verdicts/undo so the card reflects its own reviewer state without a full list re-fetch. The stable id lets both the in-card buttons and the remote toast undo button target this span by id. #} {% set pk_safe = pair_key|replace(':', '-') %} {% set actions_id = 'cc-actions-' ~ pk_safe ~ '-' ~ detector_type %} {% if reviewer_verdict %} Marked {{ reviewer_label }} {# PR #77 review fix: the marked-card "undo" must CLEAR the verdict, so prior_verdict="" routes to audit.delete_reviewer_verdict. Sending the current verdict re-sets the same value and leaves the card stuck marked. #} {% else %} {% endif %}