Move markup from application layout file to application template