Create viewdetails.tpl