django
actions action-alert
and action-confirm
; and guide-cookbook-frontend-growl
.
Show a message in the upper right corner of the browser window. The message will automatically disappear after some time.
Example:
{% button action={growl text="hello world"} %}
Shows a message with the text "hello world".
Growl accepts the following arguments:
Argument | Description | Example |
---|---|---|
text stay type |
The text to be displayed. When true then the message does not disappear automatically Type of the message, one of "notice" or "error". Default is "notice". |
text="Hola!" stay type="error" |