mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-12-22 14:11:48 +01:00
Color selected items in basket
This commit is contained in:
parent
808fc8c976
commit
0ca236f0bf
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% load crispy_forms_field %}
|
||||
<div class="col-sm-3 mb-3 mt-3">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ product.name }}</div>
|
||||
<div class="card-header {% if field.value %}bg-success text-white{% endif %}">{{ product.name }}</div>
|
||||
{% if product.image %}
|
||||
<img src="{{ product.image.url }}" class="card-img-top">
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue