{% with %} {% set img_base = url_for('static', filename='img/cards/') %} {% set card_url = img_base + card['bank_name'].lower() + '-card.png' %} {% set template_url = img_base + 'template-card.png' %} {% endwith %}
▐▐▐▐
▐▐▐▐
▐▐▐▐
{{ card['last_four_digits'] }}
{% if not card['active'] %}
INACTIVE
{% endif %}