For checkboxes, if the value of the checkbox is true, add the "checked" property, otherwise add nothing.
For use in form inputs. If the supplied value is truthy, add the "disabled" property, otherwise add nothing.
Concatenate a number of string terms into a single string. This is useful for passing arguments with variable names.
The values to concatenate
Render a pair of inputs for selecting a color.
Construct an editor element for rich text editing with TinyMCE or ProseMirror.
The content to display and edit, followed by handlebars options.
Render a file-picker button linked to an
Translate a provided string key by using the loaded dictionary of localization strings.
A string formatting helper to display a number with a certain fixed number of decimals and an explicit sign.
A numeric value to format
Additional options which customize the resulting format
The formatted string to be included in a template
Render a form input field of type number with value appropriately rounded to step size.
A helper to create a set of radio checkbox input elements in a named set. The provided keys are the possible radio values while the provided values are human readable labels.
The radio checkbox field name
A mapping of radio checkbox values to human readable labels
Options which customize the radio boxes creation
Which key is currently checked?
Pass each label through string localization?
Render a pair of inputs for selecting a value in a range.
A helper to assign an
<option> within a
<select> block as selected based on its value
Escape the string as handlebars would, then escape any regexp characters in it
A helper to create a set of <option> elements in a <select> block based on a provided dictionary. The provided keys are the option values while the provided values are human readable labels. This helper supports both single-select as well as multi-select input fields.
A mapping of radio checkbox values to human-readable labels
A collection of Handlebars template helpers which can be used within HTML templates.