insert_after

Insert rendered HTML immediately after the target element.

It accepts the same arguments as the action#update action: use text for literal HTML or template to render a template. All additional arguments are passed to that template. catinclude, include_all, and appear are also supported.

{% button text="Add help" action={insert_after target="email" text="<p>Please use a work address.</p>"} %}

Edit on GitHub

Referred by

Category

Actions

Browser actions that templates attach to events with Zotonic's wiring system.