dynamic template name for inputs