From b9a84a41c51d4e5bfd1599221a8b256b5d4478fd Mon Sep 17 00:00:00 2001 From: Stephan Kerkman Date: Mon, 1 Jun 2026 18:06:56 +0200 Subject: [PATCH] fix: restore card photo section in plant_detail, fix identify_fields dropdown, remove stale filter test - plant_detail.html: add card photos section with crop_thumbnail link (above photo gallery), satisfying test_card_button_shown_when_card_photos_exist - identify_fields.html: replace Bootstrap data-bs-toggle dropdown with plain HTML {% for r in vpc_results %} -
  • - - {{ r.common_name }} - -
  • + {% endfor %} - - + + {% endif %} {% else %} diff --git a/plants/templates/plants/plant_detail.html b/plants/templates/plants/plant_detail.html index d8b56c4..796740e 100644 --- a/plants/templates/plants/plant_detail.html +++ b/plants/templates/plants/plant_detail.html @@ -102,6 +102,16 @@ {% include "plants/partials/pruning_strip.html" %} {% endif %} + + {% if plant.card_photos.all %} +
    +

    🪧 Plant card photos

    + + Edit card photo + +
    + {% endif %} +