Language: handlebars
Wraps grouped controls and other elements within a block structure
{{{template "editblock" heading="Foo"}}}
...
{{{template "editblock" close="true"}}}
Open and close blocks are used rather than {{{#template "editblock"}}}{{{yield}}}{{{/template}}} to preserve the current context
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
heading |
string |
<optional> |
Block heading text - can be passed as a i18n key |
class |
string |
<optional> |
Additional class names for block |
close |
boolean |
<optional> |
Whether to output |