logic to create form tag in TasksController#page was broken