From 62fdbf702999ff60ec58bd75cb14277260120fdb Mon Sep 17 00:00:00 2001 From: Stephan Kerkman Date: Sat, 30 May 2026 17:46:27 +0200 Subject: [PATCH] fix: show selected species name in confirm button --- plants/templates/plants/identify_confirm.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plants/templates/plants/identify_confirm.html b/plants/templates/plants/identify_confirm.html index 39a0bae..eb892c3 100644 --- a/plants/templates/plants/identify_confirm.html +++ b/plants/templates/plants/identify_confirm.html @@ -18,6 +18,7 @@
{{ m.scientific_name }}
@@ -36,7 +37,7 @@
@@ -49,6 +50,7 @@ function selectMatch(el) { el.style.borderColor = '#52b788'; el.style.background = '#f0faf4'; document.getElementById('match_idx_input').value = el.dataset.idx; + document.getElementById('selected-name').textContent = el.dataset.name; } {% endblock %}