Template selectblock

Language: handlebars

Wraps grouped selection choices and other elements within a block structure

{{{template "selectblock" heading="Foo"}}}
   ...
{{{template "selectblock" close="true"}}}

Open and close blocks are used rather than {{{#template "selectblock"}}}{{{yield}}}{{{/template}}} to preserve the current context

Source:
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

addroute string <optional>

Route for adding an additional item to select from