changed erb view files into haml