Template control.display

Language: handlebars

Outputs control wrapper and either outputs explicit value or yields to specificied control template

{{#template "control.display" label="Foo label"}}

NB. It is usually preferable to use control.view template rather than calling this directly

Name Type Attributes Description
label string

Label text to display

yield string <optional>

Non-escaped yielded content

value string <optional>

Non-escaped value to display for control if nothing yielded