{# Inline status blocks — Penguin UI's "alert" component (https://www.penguinui.com/components/alert, modern style, with icon), minus the dark variants because the app has no dark theme. The colours come from the @theme block in ui/base.html. Failures only: a success is ui/toast.html, which says its piece and then removes itself rather than staying in the layout. An error has to stay until it is read, so it is this. Imported wherever a form reports a failure: {% import "ui/alert.html" as alert %} {% call alert::error("Could not create the table", message) %}{% endcall %} An error is normally paired with ui/dialog.html, which is what actually puts the message in front of someone who has scrolled away from the top of a form. #} {% macro error(title, message) %} {% endmacro %}