Converted ERB layout views to HAML

and here