Was using "this" to refer to template settings in the "statics"
section of Form definition - this was undefined at declaration
time.
Move definition of template and templateSettings till after
the Form variable is created.
Add test to ensure that Form template is rendered with overridden
settings.
Was using "this" to refer to template settings in the "statics" section of Form definition - this was undefined at declaration time. Move definition of template and templateSettings till after the Form variable is created.
Add test to ensure that Form template is rendered with overridden settings.
Fixes #481