This post that was quoted has been deleted.
It was a simple stay or leave vote - there were no other alternatives on the cards.
The only reason David Cameron allowed the vote was because he thought there was no way that it could return a leave decision. He promised the people a vote on the subject and that is what he delivered. His resignation after the result showed that he was far to removed from the feelings of the public at the time.
Obviously hindsight is a wonderful thing.