14 lines
460 B
HTML
14 lines
460 B
HTML
{#
|
|
Inline status blocks. Imported wherever a form reports its outcome:
|
|
|
|
{% import "ui/alert.html" as alert %}
|
|
{% call alert::error("Could not create the table", message) %}{% endcall %}
|
|
#}
|
|
{% macro error(title, message) %}
|
|
<div class="form-error"><strong>{{ title }}</strong><p>{{ message }}</p></div>
|
|
{% endmacro %}
|
|
|
|
{% macro success(title, message) %}
|
|
<div class="form-success"><strong>{{ title }}</strong><p>{{ message }}</p></div>
|
|
{% endmacro %}
|