put the page type select element into a separate template