Send view data to template