recordtab-templates adapted