project/templates/registration/submit-registration.html
branch2011
changeset 405 6795ae41f54b
parent 316 88ff5f6b43f4
child 417 4dd4f6d77e10
--- a/project/templates/registration/submit-registration.html	Wed Sep 14 16:21:56 2011 +0530
+++ b/project/templates/registration/submit-registration.html	Wed Sep 14 16:27:06 2011 +0530
@@ -12,8 +12,6 @@
       $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
       $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
       $('#id_accommodation_on_4th').attr('disabled', 'disabled');
-      $('#id_accommodation_on_5th').attr('disabled', 'disabled');
-      $('#id_accommodation_on_6th').attr('disabled', 'disabled');
     }
     $('#id_accommodation_required').change(function() {
       if (!$('#id_accommodation_required').is(':checked')) {
@@ -22,8 +20,6 @@
         $('#id_accommodation_on_2nd').attr('disabled', 'disabled');
         $('#id_accommodation_on_3rd').attr('disabled', 'disabled');
         $('#id_accommodation_on_4th').attr('disabled', 'disabled');
-        $('#id_accommodation_on_5th').attr('disabled', 'disabled');
-        $('#id_accommodation_on_6th').attr('disabled', 'disabled');
       } else {
       $('#id_accommodation_days').removeAttr('disabled');
       $('#id_sex').removeAttr('disabled');
@@ -31,8 +27,6 @@
       $('#id_accommodation_on_2nd').removeAttr('disabled', 'disabled');
       $('#id_accommodation_on_3rd').removeAttr('disabled', 'disabled');
       $('#id_accommodation_on_4th').removeAttr('disabled', 'disabled');
-      $('#id_accommodation_on_5th').removeAttr('disabled', 'disabled');
-      $('#id_accommodation_on_6th').removeAttr('disabled', 'disabled');
       }
     });