<?php $__env->startSection('page_title'); ?>
    OSAA - Forms
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_sub_title'); ?>    
	<?php echo $information['form_name']; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    @parent

	
<?php $__env->stopSection(); ?>

<?php $__env->startSection('jquery_init'); ?>
	$('.button').button();
	$('.button.close').button({ icons : { primary : 'ui-icon-circle-close'}});
	$('.tooltip').tooltip();	 
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_functions'); ?> 	
	
	<a href="<?php echo $information['return_url']; ?>" class="button close tooltip" style="font-size:9pt;" title="Discard any unsaved changes and close this form.">Close</a>	
	
<?php $__env->stopSection(); ?>


<?php $__env->startSection('main_content'); ?>    
	<h1>This Form Is Unavailable</h1>

	<p>
		This form is not yet available.  Entries are not being accepted until after the date and time listed below.
	</p>

	<table>		
		<tr>
			<td style="width:100px;">
				<b>Open</b>
			</td>
			<td>
				<?php echo date('g:i A l, F j, Y', strtotime($information['activity_form']->open_at)); ?>
			</td>
		</tr>

		<tr>
			<td>
				<b>Due</b>
			</td>
			<td>
				<?php echo date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)); ?>
			</td>
		</tr>		
	</table>

	<br /><br />

	<?php if (!is_null($information['submission'])): ?>
		<h2>Submission</h2>

		<p>
			Our records indicate that an entry was submitted.
		</p>

		<table>
			<tr>
				<td style="width:150px;">
					<b>School</b>
				</td>
				<td>
					<?php echo $information['activity_program']->name; ?>
				</td>
			</tr>
			<tr>
				<td>
					<b>Date Submitted</b>
				</td>
				<td>
					<?php echo date('g:i A l, F j, Y', strtotime($information['submission']->updated_at)); ?>
				</td>
			</tr>
			<tr>
				<td>
					<b>Submitted By</b>
				</td>
				<td>
					<?php echo $information['submission']->user_first_name . ' ' . $information['submission']->user_last_name; ?>
				</td>
			</tr>
		</table>

	<?php else: ?>
		<h2>No Submission Was Entered</h2>

		<p>
			Our records indicate that no entry was submitted.
		</p>

	<?php endif; ?>




<?php $__env->stopSection(); ?>
