added default emptyOption
renaming elements to inputs
added check for ref in input templates
removed useless instantiations
gridforms experiment