Converted layout template to haml