fix unpriced color

This commit is contained in:
Gabriel Augendre 2023-04-29 22:46:36 +02:00
parent 741d2adbf8
commit 3eb55181eb

View file

@ -1,6 +1,6 @@
{% load crispy_forms_field %}
<div class="col">
<div class="card h-100" data-product-id="{{ product.pk }}">
<div class="card h-100 {% if value %}bg-success text-white{% endif %}" data-product-id="{{ product.pk }}">
{% if product.image %}
<img src="{{ product.image.url }}" class="card-img">
{% else %}