aboutsummaryrefslogblamecommitdiffstats
path: root/alphabetlearning/templates/payments/cart_lineitem.html
blob: 9524d96b4ef2c970b9e2a18705fafd0e01e8b23a (plain) (tree)
1
2
3
4
5
6
7
8
9
                            
                     

                                                                     
              
                                         
                                                             

                                                                                          


                        

                                                       
                                                                                                                                         
              

          
    
<div class="container my-2">
    <div class="col">
        <div class="p-1 bg bg-success-subtle">
            <p class="fs-3 text fw-bold">{{ item.resource.name }}</p>
        </div>
        <div class="d-flex flex-row p-1">
            {% for tn_url in item.resource.thumbnail_urls  %}
            <div class="flex-shrink p-1">
                <img class="img-thumbnail rounded w-50" src="{{ tn_url }}" alt="unknown"/>
            </div>
            {% endfor %}
        </div>
        <div class="p-2">
            <p>{{ item.resource.card_description }}</p>
            <p><a class="btn btn-danger btn-sm fs-6 text" href="{% url "payments:delete_cart_item" item.pk %}">Remove from basket</a></p>
        </div>
    </div>
</div>
<hr>