convert haml to erb for _role