Add formatting to view pages