convert application layout view to haml