replace the render with erb