Form field templates refactoring

Allow to extend form field template and reuse existing blocks Avoid
duplicated code in checkbox input template