<?php \Laravel\Section::start('content'); ?>
	<?php $localUser = Session::get('user') ; ?>
	<div class="msg warn"> 
		no more changes are allowed for this training session<br/>19:30 deadline has expired
	</div>
	<h1>Training slots for <?php echo  $training->tr_date ; ?></h1>
	<p><?php echo  $training->tr_comments ; ?></p>
	<table>
		<?php foreach($slots as $slot): ?>
		<tr>
		<th width=120px"><?php echo  date('H:i',strtotime($slot->slot_time))  ; ?></th>
		<td>
			<?php echo  $slot->person_name ; ?>
		</td>
		<?php endforeach; ?>
	</table>
	<br/><br/>
	<div class="notes">
	<ul>
		<li>a person cannot register for 2 trainings the same date [BR01]</li>
		<li>a person can cancel his own registration [BR02]</li>
		<li>only an administrator can create or change training slots [BR03]</li>
		<li>only an administrator can register/cancel a slot for another person	[BR04]</li>
		<li>registration period starts two days before	[BR05]</li>
		<li>registration period starts one day before, for those that booked a slot in the previous training [BR06]</li>
		<li>a booking can be cancelled up to one hour before starting time [BR07]</li>
	</div>
<?php \Laravel\Section::stop(); ?>

<?php echo view('layouts.default')->with(get_defined_vars())->render(); ?>