Converted views from html to haml