{% load i18n %} {% with abscissa_error=hand.abscissa_error ordinate_error=hand.ordinate_error %} {% if abscissa_error or ordinate_error %} {% else %} {{empty_message}} {% endif %} {% endwith %}