finishes refactoring recent from erb to haml