edit smarty view