init templates for form and search result