{% include "_icons.html" %} {% from "_macros.html" import icon %}
{% if co and co.logo %}{% endif %} {{ nm(co) if co else '' }}{{ t('Supplier portal') }}
{% if g.portal_user %}{% set ep = request.endpoint %} {% endif %}
{% with msgs = get_flashed_messages(with_categories=true) %} {% for cat, msg in msgs %}
{{ icon('alert' if cat == 'error' else 'check') }}{{ msg }}
{% endfor %} {% endwith %} {% block content %}{% endblock %}