{% macro in_page_alert(heading=null, type="info", compact=false) %}
{% if heading %}

{{ heading }}

{% endif %} {{ caller() }}
{% endmacro %} {% macro in_page_info(heading=null, compact=false) %} {% set outer_caller = caller %} {% call in_page_alert(heading, "info", compact) %} {{ outer_caller() }} {% endcall %} {% endmacro %} {% macro in_page_error(heading=null, compact=false) %} {% set outer_caller = caller %} {% call in_page_alert(heading, "error", compact) %} {{ outer_caller() }} {% endcall %} {% endmacro %} {% macro in_page_warning(heading=null, compact=false) %} {% set outer_caller = caller %} {% call in_page_alert(heading, "warning", compact) %} {{ outer_caller() }} {% endcall %} {% endmacro %} {% macro in_page_success(heading=null, compact=false) %} {% set outer_caller = caller %} {% call in_page_alert(heading, "success", compact) %} {{ outer_caller() }} {% endcall %} {% endmacro %}