format view page