converted final erb file to haml