Tried to add db form call but get view template error