use $title variable in the view

$data['title'] is defined in the controller but it is not used in the view
Merge pull request #3439 from galdiolo/patch-1

[ci skip] use $title variable in the view