{% for transaction in transactions %} {% if transaction.transaction_date > date_today %} {% set future = ' future' %} {% endif %}