{% extends 'base.html' %} {% block content %} Add Invoice {% if success == 'true' %} {% endif %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %}
{% endblock %}