remind me form - thanks and no emails
[prawokultury.git] / prawokultury / static / js / workshop_form.js
1 $(document).ready(function() {
2
3     var project_row = $('#id_w_siewicz_project').closest('tr');
4
5     var switcher = $('#id_w_siewicz');
6
7     if (!switcher.is(':checked'))
8         project_row.hide();
9
10     switcher.on('change', function(data) {
11         console.log(data);
12         project_row.toggle();
13     })
14
15 });