<div style="font-size: 10pt; width: 100%; height: 100%; position: relative;">

	<div style="width: 130px; float: right; font-size: 9pt; font-family: monospace; line-height: 105%;">
		
		<span style="color: #999999;">Match Part. ID</span><br />
		<?php echo $info['match_participant']->id; ?>
		<br /><br />

		<span style="color: #999999;">School Year</span><br />
		<?php echo $info['match_participant']->school_year; ?>
		<br /><br />

		<span style="color: #999999;">Activity</span><br />
		<?php echo Helpers::getActivityName($info['match_participant']->activity); ?>
		<br /><br />

		<span style="color: #999999;">Division</span><br />
		<?php echo $info['match_participant']->division; ?><br />
		<?php if (Helpers::strEqual($info['match_participant']->subdivision, 'S')): ?>
			Singles
		<?php elseif (Helpers::strEqual($info['match_participant']->subdivision, 'D')): ?>
			Doubles
		<?php else: ?>
			<?php echo $info['match_participant']->subdivision; ?>
		<?php endif; ?>
		<br /><br />

		<span style="color: #999999;">Last Updated</span><br />
		<?php echo date('m/d/Y g:i a', strtotime($info['match_participant']->updated_at)); ?>
		<br /><br />

		<span style="color: #999999;">Created</span><br />
		<?php echo date('m/d/Y g:i a', strtotime($info['match_participant']->created_at)); ?>

	</div>

	<b>Team</b><br />
	<?php echo $info['match_participant']->team; ?> - <?php echo $info['match_participant']->team_name; ?>
	<br /><br />

	<?php echo Form::open(array('url' => url('/brackets/update-match-participant/' . $info['match_participant']->id),
						'style' => 'float: left;')); ?>

		<?php echo Form::hidden('match_participant', $info['match_participant']->id); ?>		

		
		<?php if (Helpers::strEqual($info['match_participant']->subdivision, 'S')): ?>					
			
			<div style="float: left; margin-right: 25px;">
				<?php echo Form::label('first_name', 'First Name', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('first_name', $info['match_participant']->first_name); ?>
			</div>		
		
			<div style="float: left; margin-right: 25px;">
				<?php echo Form::label('last_name', 'Last Name', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('last_name', $info['match_participant']->last_name); ?>
			</div>

			<div style="float: left;">
				<?php echo Form::label('grade', 'Grade', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::select('grade', array(9 => '9', 10 => '10', 11 => '11', 12 => '12'), $info['match_participant']->grade); ?>
			</div>

		<?php else: ?>

			<div style="float: left; margin-right: 25px;">
				<?php echo Form::label('first_name', 'A) First Name', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('first_name', $info['match_participant']->first_name); ?>
			</div>		
		
			<div style="float: left; margin-right: 25px;">
				<?php echo Form::label('last_name', 'A) Last Name', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('last_name', $info['match_participant']->last_name); ?>
			</div>

			<div style="float: left;">
				<?php echo Form::label('grade', 'A) Grade', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::select('grade', array(9 => '9', 10 => '10', 11 => '11', 12 => '12'), $info['match_participant']->grade); ?>
			</div>

			<br class="clear" /><br />

			<div style="float: left; margin-right: 25px;">
				<?php echo Form::label('aux_first_name', 'B) First Name', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('aux_first_name', $info['match_participant']->aux_first_name); ?>
			</div>		
		
			<div style="float: left; margin-right: 25px;">
				<?php echo Form::label('aux_last_name', 'B) Last Name', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('aux_last_name', $info['match_participant']->aux_last_name); ?>
			</div>

			<div style="float: left;">
				<?php echo Form::label('aux_grade', 'B) Grade', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::select('aux_grade', array(9 => '9', 10 => '10', 11 => '11', 12 => '12'), $info['match_participant']->aux_grade); ?>
			</div>

		<?php endif; ?>

		<br class="clear" /><br />

		<?php echo Form::label('display_name', 'Current Display Name', array('style' => 'font-weight: bold;')); ?><br />
		<?php echo Form::text('display_name', $info['match_participant']->display_name, array('style' => 'width: 300px;', 'readonly' => 'readonly', 'disabled' => 'disabled')); ?><br />
		<span class="small gray">The display name will be updated automatically on save.</span>


		<br /><br />

		<?php echo $info['match_participant']->notes; ?>
		
	<?php echo Form::close(); ?>

</div>