{% load i18n %} {% if card.is_valid %} {% trans "Valid" %} {% else %} {% trans "Not valid" %} {% endif %}