{{#if (eq fieldDef.type "boolean")}} {{input type="checkbox" checked=value}} {{else}} {{#if (or (eq fieldDef.type "float") (eq fieldDef.type "int"))}} {{input type="number" value=value classNames="form-control" placeholder=placeholder min=fieldDef.min max=fieldDef.max step=1}} {{/if}} {{input type="text" value=value classNames="form-control" placeholder=fieldDef.placeholder}} {{/if}}

{{fieldDef.description}}