Use a small iPod opening tool to flip up the brown plastic tab holding the orange hard drive ribbon in place. The brown tab will rotate up 90 degrees, releasing the ribbon cable.
Slide the orange hard drive ribbon cable directly out of its connector. The cable may be attached to the logic board with some adhesive. If the cable doesn't immediately come free, carefully pull up on the cable to loosen the adhesive.
Logic board remains.