Add missing model to template render.

Closes #3530, Refs #3474
- Cleanup from #3474 which stopped passing the model into
  the render template call.
Merge pull request #3557 from jaswilli/issue-3530

Add missing model to template render.