<?php

AC::get_form_header();
AC::generate_waitlist_fields();
AC::save_session_id();
?>

<div class="container-fluid">
	<div class="row">
		<div class="col-md-8">
			<div class="activity_form">

				<?php 
if (AC::load_saved_data('number_of_registrants')) {
    ?>
					<div class="alert alert-danger">
						<h4>Activity Full</h4>
						We're sorry, but the activity you selected is no longer accepting reservations.<br />
						Please use the form below to add yourself to the waitlist.
					</div>
				<?php 
} else {
    ?>

					<?php 
    if (AC::$errors) {
        ?>
						<div class="alert alert-danger"><h4>Error(s)</h4><?php 
        AC::output_errors();
        ?>
</div>