Renders an alert message above the main content.
Basic usage:
{{ html.message }}
Usage with parameters:
{{ html.message(Text, Type) }}
Parameters:
Text
(optional) – Alert message text (HTML tag will be stripped)Type
(optional)
Example:
{{ html.message("Error","Your passport is expired. Please upload a new one.") }}
Leave a Reply
You must be logged in to post a comment.