Created
March 17, 2015 09:33
-
-
Save Kungi/e3d43696983d70e72fd8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [form (if (:privacy_policy ic-config) | |
(update-in form [:validations] | |
conj [:required [:privacy-policy] "Bitte Stimmen Sie der Datenschutzerklärung zu."]) | |
form)] | |
(if (:opt_in ic-config) | |
(update-in form [:validations] | |
conj [:required [:opt-in] "Bitte stimmen Sie dem Opt-In zu."]) | |
form)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment