fixed subform
added name class
added newdata prop
update templatestring