Create a Smarty instance to parse the form theme