Extends aldeed:autoform to allow help text to be defined in the schema.
This:
"autoform": {
"help": "This is the help text"
}becomes this:
It works by using aldeed:template-extension to override the afFormGroup_bootstrap3 template.
meteor add appworkshop:autoform-helptext-bootstrap3
-
Define your help text in the schema as an
autoform.helpproperty of the schema item e.g.var mySchema = new SimpleSchema({ "Test":{ type: "String", autoform: { help: "This is the help text" } } });
-
[optional] Override or apply styles to the
form-field-helpclass.span.form-field-help { /*color: @secondary;*/ font-size: 0.8em; margin-top: -0.5em; display: block; margin-left: 1em; }
