Marriage is a civil contract, requiring the consent of the parties capable of entering into other contracts, except as herein otherwise declared.