{# 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. Imported wherever a form reports its outcome: {% 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 %} {% macro success(title, message) %} {% endmacro %}