Changed haml to erb