diff --git a/plants/templates/plants/partials/photo_gallery.html b/plants/templates/plants/partials/photo_gallery.html index b7f4e62..69a8363 100644 --- a/plants/templates/plants/partials/photo_gallery.html +++ b/plants/templates/plants/partials/photo_gallery.html @@ -13,7 +13,7 @@ {% if not photo.is_thumbnail %}
+ hx-target="#photo-gallery" hx-swap="innerHTML"> {% csrf_token %}
@@ -22,7 +22,7 @@ {% endif %}
+ hx-target="#photo-gallery" hx-swap="innerHTML"> {% csrf_token %}
@@ -34,7 +34,7 @@ {% endwith %}
{% csrf_token %}
@@ -45,15 +45,3 @@
- -{% if request.htmx %} -
-{% if plant.species and plant.species.api_image_url %} -{{ plant.species.common_name }} -{% elif plant.thumbnail_url %} -{{ plant.name }} -{% else %} -
🌿
-{% endif %} -
-{% endif %}