convert application layout to haml