Convert application template to haml