View/HbsHelpers

Handlebars helpers.

These functions are to be used in Handlebars templates.

Example:

// to register all the helpers at once
Handlebars.registerHelper(require('./hbs-helpers'));

// to register a single helper
const HbsHelpers = require('./hbs-helpers');
Handlebars.registerHelper('fieldOfType', HbsHelpers.fieldOfType);