Doesn't this necessitate lots of individual templates? (in this example: inputTemplate, labelTemplate...)
Is there an easy way to manage this? From what I've seen it's typical to have one template per view (and possibly sub-views with sub-templates).