Add new HiddenUnless validator
commitfe32a7299df834e7e325af80400f35d0fb1f9392
authorAdrian Moennich <adrian.moennich@cern.ch>
Thu, 23 Jul 2015 09:35:44 +0000 (23 11:35 +0200)
committerAdrian Moennich <adrian.moennich@cern.ch>
Thu, 23 Jul 2015 09:35:44 +0000 (23 11:35 +0200)
tree517b020bb2eda72615c6a208edbda22a456e619e
parentc8d39761176426c48ff781c95a72e1dd89fc7ac0
Add new HiddenUnless validator

Hides and disables a field unless another field has a certain value.
indico/htdocs/js/utils/forms.js
indico/modules/events/reminders/forms.py
indico/modules/events/reminders/templates/edit_reminder.html
indico/web/forms/jinja_helpers.py
indico/web/forms/validators.py
indico/web/templates/forms/_form.html