front end stuff for creategiftcard.tpl