`r`n {% if request.endpoint in ['register', 'login', 'auth.register', 'auth.login'] %} {% else %} {% endif %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %} {% endfor %}
{% endif %} {% endwith %}
{% block content %}{% endblock %}
{% block scripts %}{% endblock %}