$(document).ready(function() {
  pageController.prepareBanquetAmountToggle = function() {
    $("input[name=studentRegistration]").click(function() {
      var price = (this.value == 'yes') ? '25' : '45';

      // Change out the header, amount, and displayed price.
      $("#ticketPrice").text(price);
      $("input[name=amount]").val(price);
    });
  }

  pageController.prepareBanquetAmountToggle();
});

