diff options
author | Madhusudan.C.S | 2010-11-18 19:27:11 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2010-11-18 19:27:11 +0530 |
commit | 0e962f94a1c714f91b18dd3273859c1074bdcb87 (patch) | |
tree | 35b4b3f5ac2359ee1440f95549df26ecba949442 /project/templates/registration/submit-registration.html | |
parent | 1e2a6b85b2f7bd9e391c4b700fbf5b62cb93e13f (diff) | |
parent | d13f1fcfbab51eda8840bc9435308f7cdf49e7e7 (diff) | |
download | scipycon-0e962f94a1c714f91b18dd3273859c1074bdcb87.tar.gz scipycon-0e962f94a1c714f91b18dd3273859c1074bdcb87.tar.bz2 scipycon-0e962f94a1c714f91b18dd3273859c1074bdcb87.zip |
Make default the active branch.
Diffstat (limited to 'project/templates/registration/submit-registration.html')
-rw-r--r-- | project/templates/registration/submit-registration.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/project/templates/registration/submit-registration.html b/project/templates/registration/submit-registration.html index 1124cd3..7c238b0 100644 --- a/project/templates/registration/submit-registration.html +++ b/project/templates/registration/submit-registration.html @@ -19,6 +19,20 @@ $('#id_sex').removeAttr('disabled'); } }); + + if (!$('#id_paid').is(':checked')) { + $('#id_type').attr('disabled', 'disabled'); + $('#id_details').attr('disabled', 'disabled'); + } + $('#id_paid').change(function() { + if (!$('#id_paid').is(':checked')) { + $('#id_type').attr('disabled', 'disabled'); + $('#id_details').attr('disabled', 'disabled'); + } else { + $('#id_type').removeAttr('disabled'); + $('#id_details').removeAttr('disabled'); + } + }); }); @@ -147,6 +161,13 @@ </fieldset> <fieldset> + <legend>Payment</legend> + <table class="scipycon-default"> + {{ payment_form }} + </table> + </fieldset> + + <fieldset> <legend>Others</legend> <table class="scipycon-default"> {{ wifi_form }} |