{% if request.path == '/wallet/loading' %} {% endif %} {% if request.path == '/wallet/dashboard' %} {% endif %} {% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %}