Just use a normal loan agreement and add a subordination agreement on top of it. No major SA law requirements...just make sure a director signs it.
edit...take care if how you phrase both the lifespan of the subordination agreement and the extent of what it covers though. e.g. interest accruing etc.