Moving view logic out of recipe template
Rejigging base