<p style="font-size: 10pt; line-height: 10pt;">
	<b>Instructions:</b> Use this form to make small changes to <?php echo $info['staff']->display_name; ?>'s contact information.  These changes could include name spelling corrections, e-mail address changes, or phone number updates.  Click <b>Save Changes</b> when finished.
	<br /><br />
	Alternatively, click <b>Replace this Person</b> to remove this individual in order to replace him/her with a new staff contact.  This will retire <?php echo $info['staff']->display_name; ?>'s staff contact which will allow you to input a new person's information later.	
</p>

<br />

<?php echo Form::open(array('url' => '/schools/staff/edit', 'style' => 'font-size: 10pt; line-height: 10pt;')); ?>

	<?php echo Form::hidden('id', $info['staff']->id); ?>
	<?php echo Form::hidden('redirect', url('/schools/' . $info['school']->id)); ?>


	<div style="float: left;">
		<?php echo Form::label('name_prefix', 'Prefix', array('style' => 'font-weight: bold; font-size: 8pt;')); ?> <span class="small gray" style="position: absolute;">(i.e. "Dr.")</span><br />
		<?php echo Form::text('name_prefix', $info['staff']->name_prefix, array('style' => 'width: 90px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('first_name', 'First Name', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('first_name', $info['staff']->first_name, array('style' => 'width: 120px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('middle_name', 'Middle Name', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('middle_name', $info['staff']->middle_name, array('style' => 'width: 90px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('last_name', 'Last Name', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('last_name', $info['staff']->last_name, array('style' => 'width: 120px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('name_suffix', 'Suffix', array('style' => 'font-weight: bold; font-size: 8pt;')); ?> <span class="small gray" style="position: absolute;">(i.e. "III")</span><br />
		<?php echo Form::text('name_suffix', $info['staff']->name_suffix, array('style' => 'width: 90px;')); ?>
	</div>

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

	<div style="float: left;">
		<?php echo Form::label('role', 'Role', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::select('role', $info['roles'], $info['staff']->role, array('style' => '')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('alt_title', 'Alternate Title', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('alt_title', $info['staff']->alt_title, array('style' => 'width: 160px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('staff_type', 'Staff Type', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::select('staff_type', $info['staff_types'], $info['staff']->staff_type, array('style' => '')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('is_on_rosters', 'Shown on Rosters?', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php if (Auth::check() and Auth::user()->isOsaaUser()): ?>
			<?php echo Form::select('is_on_rosters', array(0 => 'No', 1 => 'Yes'), $info['staff']->is_on_rosters, array('style' => '')); ?>
		<?php else: ?>
			<?php echo Form::select('is_on_rosters', array(0 => 'No', 1 => 'Yes'), $info['staff']->is_on_rosters, array('disabled' => 'disabled', 'style' => '')); ?>
		<?php endif; ?>
	</div>

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

	<div style="float: left;">
		<?php echo Form::label('email', 'Email Address', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('email', $info['staff']->email, array('style' => 'width: 250px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('work_phone', 'Work Phone Number', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('work_phone', Helpers::displayCombinedPhone($info['staff']->work_phone), array('style' => 'width: 135px;')); ?>
	</div>

	<div style="float: left; margin-left: 20px;">
		<?php echo Form::label('mobile_phone', 'Mobile Phone Number', array('style' => 'font-weight: bold; font-size: 8pt;')); ?><br />
		<?php echo Form::text('mobile_phone', Helpers::displayCombinedPhone($info['staff']->mobile_phone), array('style' => 'width: 135px;')); ?>
	</div>

	<?php if (Auth::check() and Auth::user()->isOsaaUser()): ?>

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

		<div style="float: left; width: 30%;">
			ID #: <?php echo $info['staff']->id; ?><br />
			Table: school_staff
		</div>

		<div style="float: left; width: 30%;">			
			Created: <?php echo date('n/j/Y g:ia', strtotime($info['staff']->created_at)); ?><br />
			Updated: <?php echo date('n/j/Y g:ia', strtotime($info['staff']->updated_at)); ?>
		</div>

		<div style="float: left; width: 30%;">			
			Modifier: <?php echo $info['updated_by']; ?><br />
		</div>

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

		<div style="float: left;">
			<?php echo Form::label('staff_notes', 'OSAA Staff Notes', array('style' => 'font-weight: bold; font-size: 8pt;')); ?> <span class="small gray" style="position: absolute;">(only visible to OSAA staff)</span><br />
			<?php echo Form::textarea('staff_notes', $info['staff']->staff_notes, array('style' => 'width: 650px; height: 3em;')); ?>
		</div>

	<?php endif; ?>

<?php echo Form::close(); ?>
