581. Equitable mortgages and charges.

Where there is no actual mortgage, but only an agreement to execute a mortgage1, the right of foreclosure arises on non-payment of the money at the time agreed upon, or, if no time is agreed upon, then on non-payment within a reasonable time after demand