formatted the sugarvar smarty function.

Signed-off-by: Harish Patel <harish.patel@vitruviantech.com>