Update view.phtml

Fix call to undefined method after changes in d63a029b74bae7eaa80619f78795e6b6d6ef31b7