{% for script in frame.scripts %} {% endfor %} {% match frame.notice %}{% when Some with (text) %}{% include "notice.html" %} {% when None %}{% endmatch %}{% match frame.header %} {% when Some with (header) %} {% when None %} {% endmatch %}
{% match frame.flash %} {% when Some with (flash) %}

{{ flash }}

{% when None %} {% endmatch %} {% block content %}{% endblock %}