convert erb view files to haml

This PR converts all the erb view files to haml.