Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (17 sloc) 1.145 kB

Opens a dialog with a predefined HTML content and title.

Example:

{% button action={dialog title="Wisdom" text="<p>The world is a pancake.</p>"} %}

This opens a dialog with the title "Wisdom". The dialog is empty except for the text "The world is a pancake".

Normally, instead of this action, the action :ref:`action-dialog_open` is used. The action :ref:`action-dialog_open` shows a dialog that is rendered on the server.

Argument Required Description
title required Dialog header title
text required Dialog body text
width optional Dialog width in pixels
addclass optional classname will be appended to default dialog class
backdrop optional boolean (0, 1) or the string 'static' for a modal dialog (does not close on backdrop click)
Jump to Line
Something went wrong with that request. Please try again.