converting application.html.erb to haml