Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Kungi
Created March 17, 2015 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kungi/e3d43696983d70e72fd8 to your computer and use it in GitHub Desktop.
Save Kungi/e3d43696983d70e72fd8 to your computer and use it in GitHub Desktop.
(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