Files
komp_ac/web/templates/ui/alert_fragment.html
2026-08-03 13:32:25 +02:00

7 lines
324 B
HTML

{#
Standalone swap target for every form POST — crate::ui::Alert.
Rendered into the page's #submission-status / #login-status div.
#}
{% import "ui/alert.html" as alert %}
{%- if success %}{% call alert::success(title, message) %}{% endcall %}{% else %}{% call alert::error(title, message) %}{% endcall %}{% endif -%}