making it so the chnage and edit pages say the correct document type at the top of the page