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

<?php $__env->startSection('tool_box'); ?>
	<?php if (Auth::check() and Auth::user()->isOsaaUser()): ?>
		<div id="tool_box" style="font-size: 10pt;">
	        <img src="<?php echo asset('images/icons/shield_32px.png'); ?>" alt="" title="You are logged in as an OSAA Staff Member." class="tooltip" width="32" height="32" />        

	        <div class="float_left" style="line-height: 34px;">
	        		        	
	        	<img src="<?php echo asset('images/icons/bullet_green_32px.png'); ?>" alt="" title="" class="" style="float: none; width: 16px; height: 16px; margin: 0 0.25em 0 1em;" />
	        	<b>Open:</b> <?php echo date('g:ia n/j/y', strtotime($information['activity_form']->open_at)); ?>
	        	
				<img src="<?php echo asset('images/icons/bullet_yellow_32px.png'); ?>" alt="" title="" class="" style="float: none; width: 16px; height: 16px; margin: 0 0.25em 0 1em;" />
	        	<b>Due:</b> <?php echo date('g:ia n/j/y', strtotime($information['activity_form']->due_at)); ?>	        	

	        	<img src="<?php echo asset('images/icons/bullet_red_32px.png'); ?>" alt="" title="" class="" style="float: none; width: 16px; height: 16px; margin: 0 0.25em 0 1em;" />
	        	<b>Close:</b> <?php echo date('g:ia n/j/y', strtotime($information['activity_form']->close_at)); ?>
	        </div>

	        <div style="float: right; line-height: 32px; margin-left: 10px;">
	        	<div class="button entries" style="font-size: 9pt;">Entries</div>
	        </div>
	        <div style="float: right; line-height: 32px; margin-left: 10px;">
	        	<div class="button submissions" style="font-size: 9pt;">Submissions</div>
	        </div>	        

	    </div>
    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_sub_title'); ?>    
	<?php /*  $information['form_name']  */ ?>
	Wrestling District Supplemental Report Form
<?php $__env->stopSection(); ?>

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

    <style type="text/css">
		/* Success Bar */
    	.success_bar {
    		position: fixed;
    		top: 600px;
    		left: 0;
    		width: 100%;
    		padding: 0.25em 0;
    		line-height: 1.5em;
    		background-color: rgba(176, 255, 190, 0.0);
    		border-bottom: 2px solid rgba(13, 88, 27, 0.50);
    		border-top: 2px solid rgba(13, 88, 27, 0.50);
    		z-index: 500;
    	}

    	.success_bar .message {
    		width: 1200px;
    		margin: 0 auto;
    		font-size: 14pt;
    		color: #151515;
    	}
    </style>
	
<?php $__env->stopSection(); ?>

<?php $__env->startSection('jquery_init'); ?>
	$('.button').button();
	$('.button.notext').button({text:false});
	$('.button.close').button({ icons : { primary : 'ui-icon-circle-close'}});
	$('.button.switch').button({ icons : { primary : 'ui-icon-transferthick-e-w'}});
	$('.button.back').button({ icons : { primary : 'ui-icon-arrowthick-1-w'}});
	$('.button.delete').button({ icons : { primary : 'ui-icon-closethick'}});	
	$('.button.add').button({ icons : { primary : 'ui-icon-plusthick'}});
	$('.button.save').button({ icons : { primary : 'ui-icon-disk'}});	
	$('.button.edit').button({ icons : { primary : 'ui-icon-pencil'}});	
	
	$('.button_set').buttonset();
	$('.button_set label').addClass('ui-corner-all');
	
	$('.tooltip').tooltip();	 

	
	$('.date_picker').datepicker({'dateFormat' : 'mm/dd/yy'});
								  
	
	$('[data-required]').after('<span class="required_marker">*</span>');

	function colorRows ()
	{		
		$('table').each(function ()
		{
			var i = 0;

			$('tbody tr:visible', $(this)).each(function ()
			{
				if (i % 2 == 0)
				{
					$(this).addClass('odd');
				}
				else
				{
					$(this).removeClass('odd');
				}
				i = i + 1;
			});		


		});
	}

	colorRows();



	/* Limit input to numbers only */	
	$('.numbers_only').bind('input', function()
	{
  	    $(this).val($(this).val().replace(/[^0-9]/gi, ''));
	});	

	/* Limit input to letters only */	
	$('.alphas_only').bind('input', function()
	{
  	    $(this).val($(this).val().replace(/[^A-Za-z]/gi, ''));
	});

	

	$('input.participation_number').bind('change blur', function ()
	{				
		var v = parseInt($(this).val());
		
		if (v < 0 || v > 28)
		{
			$(this).val('');
		}		
		
		updateTotals();
	});		

	function updateTotals()
	{			
		total = 0;
		
		$('input.participation_number').each(function ()
		{
			var v = parseInt($(this).val());

			if (v >= 0)
			{	
				total = total + v;
			}
			
		});		

		/* Display the total number of participants */
		$('#total_participation').html(total);	
	}

	updateTotals();
	

	$('[placeholder]').focus(function()
    {
        var input = $(this);
        if (input.val() == input.attr('placeholder'))
        {
            input.val('');
            input.removeClass('placeholder');
        }
    }).blur(function()
    {
        var input = $(this);
        if (input.val() == '' || input.val() == input.attr('placeholder'))
        {
            input.addClass('placeholder');
            input.val(input.attr('placeholder'));
        }
    }).blur();

    $('[placeholder]').parents('form').submit(function()
    {
        $(this).find('[placeholder]').each(function()
        {
            var input = $(this);
            if (input.val() == input.attr('placeholder'))
            {
                input.val('');
            }
        });
    });	
	

	/* Save information */
	$('.button.save').click(function ()
	{
		var form = $(this).parents('form');
		var input = $('<input />').attr('type', 'hidden').attr('name', 'save').val('true');
		$(form).append($(input));
		$(form).submit();
	});


	// Success bar
	$('.success_bar').animate({ 'top' : 32, 'background-color' : 'rgba(176, 255, 190, 1.0)'}, 1600, 'easeOutQuad', function ()
	{		
		$(this).delay(6000).fadeOut(4000);	

		$(this).hover(function ()
		{
			$(this).stop(true).css('opacity', '1.0');
		},
		function ()
		{
			$(this).fadeOut(4000);
		})
	});

	<?php if (!is_null($information['league'])): ?>
	    $('input[type="submit"]').click(function (event)
			{
				event.preventDefault();

				var form = $(this).parent('form');

				$('<div></div>').appendTo('body')
					 			.html('<br /><img src="<?php echo asset('images/icons/help_24px.png'); ?>" class="float_left" style="margin: -0.25em 1em 0.5em 0;" alt="" title="" />Are you sure you want to submit this form?<div style="font-size: 9pt; margin-top: 2.25em;">Be sure that you have double checked your entries.  You can resubmit this form as many times as necessary before the deadline.  The most recent submission will be considered the correct data.</div>')
					 			.dialog(
					 			     {
								     autoOpen: true,
								     draggable: false,
									 resizable: false,
									 height: 275,
									 width: 400,
									 title: 'Confirm Submission',
									 modal: true,
									 buttons: [
					      				{
					      					text : "Yes",
					      		   			'class' : "float_left",
					      		   			icons : { primary : 'ui-icon-check'},
					      		   		 	click : function()
					      		   		  		  {   								      		   		  		  	  
													  $(this).dialog( "close");
					      		   		  		  	  $(this).remove();

					      		   		  		  	  $('<div><div>').addClass('ui-widget-overlay ui-front')
					      		   		  		  	  				 .appendTo('body');
					      		   		  		  	  
					      		   		  		  	  $('<div><div>').appendTo('body')
					      		   		  		  	  				 .css('width', '225px')
					      		   		  		  	  				 .css('height', '170px')
					      		   		  		  	  				 .css('text-align', 'center')
					      		   		  		  	  				 .css('padding', '0.5em')
					      		   		  		  	  				 .position({my : "center center", at : "center center", of : window})
					      		   		  		  	  				 .addClass('ui-dialog ui-widget ui-widget-content ui-corner-all ui-front ui-dialog-buttons')
					      		   		  		  	  				 .html('<br />Working...<br /><br /><img src="http://www.osaa.org/images/icons/ajax_loader3.gif" /><div style="font-size: 8pt; line-height: 105%; margin-top: 2em;">Please wait, this may take a while to process and send e-mails.</div>');

					      		   		  		  	  form.submit();
											       }
										},
										{
											text : "No",
											'class' : "float_right",
											icons : { primary : 'ui-icon-cancel'},
											click : function()
													{
											        	$(this).dialog( "close");;
					      		   		  		  	  	$(this).remove();
											        }
										}
									 ],
							         open : function ()
									 {  		         
								          $('.ui-dialog-buttonpane').css('padding', '0 0.5em').css('font-size', '10pt');
								          $('.ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%');
								          //$('.ui-dialog-titlebar').addClass('ui-state-highlight');
								      }
							    }); 
				 
				return false;				
			});
	<?php endif; ?>



    <?php /*  Show the OSAA tool bar  */ ?>
    <?php if (Auth::check() and Auth::user()->isOsaaUser()): ?>    	

    	$('#submissions_report').dialog(
    		{
    			dialogClass : 'submission_content',
                autoOpen : false,                                  
                buttons : [ { text : 'Done', 'class' : 'float_right', click : function () { $(this).dialog('close'); }} ],
                draggable : true,                                                                   
                height : 600,                
                modal : false,                
              	resizable : false,
              	open : function ()
                	{      
                  		$('#submissions_report').html("<div class='ajax_loader' style='width:16px; height:11px; margin:4em auto; background-image: url(http://www.osaa.org/images/icons/ajax_loader2.gif); background-repeat:no-repeat;'></div>");                  

                  		var jqxhr = $.ajax(
                                {
                                    type : 'GET',
                                    url : '/reports/wre-registrations',
                                    dataType : 'html'
                                })
                               .done(function (data)
                                {
                                    $('#submissions_report').html(data);
                                })
                               .fail(function ()
                                {
                                    $('#submissions_report').html('There was an error.');
                                });
                  
                  		$('.submission_content .ui-dialog-buttonpane').css('padding', '0').css('font-size', '8pt');
                  		$('.submission_content .ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%');  
              		},
              	show : { effect : 'highlight', delay : 0, duration : 400, easing : 'easeInOutSine' },
              	title : 'OSAA Wrestling Form Submissions', 
              	width : 650              	
            }
        );
                 

        $('.button.submissions').click(function () { $('#submissions_report').dialog('open'); });      


        $('#entries_report').dialog(
    		{
    			dialogClass : 'entry_content',
                autoOpen : false,                                  
                buttons : [ { text : 'Done', 'class' : 'float_right', click : function () { $(this).dialog('close'); }} ],
                draggable : true,                                                                   
                height : 300,                
                modal : false,                
              	resizable : false,
              	open : function ()
                	{      
                  		$('#entries_report').html("<div class='ajax_loader' style='width:16px; height:11px; margin:4em auto; background-image: url(http://www.osaa.org/images/icons/ajax_loader2.gif); background-repeat:no-repeat;'></div>");                  

                  		var jqxhr = $.ajax(
                                {
                                    type : 'GET',
                                    url : '/reports/wre-entries',
                                    dataType : 'html'
                                })
                               .done(function (data)
                                {
                                    $('#entries_report').html(data);
                                })
                               .fail(function ()
                                {
                                    $('#entries_report').html('There was an error.');
                                });
                                   

                  		$('.entry_content .ui-dialog-buttonpane').css('padding', '0').css('font-size', '8pt');
                  		$('.entry_content .ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%');  
              		},
              	show : { effect : 'highlight', delay : 0, duration : 400, easing : 'easeInOutSine' },
              	title : 'OSAA Wrestling Form Entries', 
              	width : 500              	
            }
        );
                 

        $('.button.entries').click(function () { $('#entries_report').dialog('open'); });  

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

<?php $__env->startSection('page_functions'); ?> 	

	<?php if (!is_null($information['league'])): ?>
		<a href="<?php echo url('/forms/registration/wre'); ?>" class="button back tooltip" style="font-size:9pt; margin-right: 8px;" title="Discard any unsaved changes and go back to the league selection page.">Back</a>						
	<?php else: ?>
		<a href="<?php echo url('/activities/wre'); ?>" class="button close tooltip" style="font-size:9pt; margin-right: 8px;" title="Discard any unsaved changes and close this form.">Close</a>		
	<?php endif; ?>

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


<?php $__env->startSection('main_content'); ?>    
	
	<?php /*  Success Bar  */ ?>
 	<?php if (Session::has('success')): ?>
		<div class="success_bar">
			<div class="message">				
				<?php echo Session::get('success'); ?>
			</div>			
		</div>
	<?php endif; ?> 

	<?php if ($information['is_past_due']): ?>
		<div class="online_form_late ui-state-error ui-corner-all">
			<span class="ui-icon ui-icon-alert" style="display:inline-block; position:relative; top:2px;"></span>
			This form was due by <?php echo date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)); ?> and is now past the deadline.  Please submit your entries now before the form closes and becomes unavailable.
		</div>
	<?php endif; ?>

	<?php if (is_null($information['league'])): ?>	

		<?php /*  Need to select a league  */ ?>

		<br />

		<h1>Select League or Special District</h1>

		<div class="online_form_instructions ui-corner-all">
			<span class="ui-icon ui-icon-info" style="display:inline-block; position:relative; top:2px;"></span>
			<b>Instructions</b> <br />
			<ol>
				<li>Begin by selecting the league or special district from the drop-down list.</li>
				<li>Click <b>Next</b> to continue with the selection.</li>
				<li><b>Note:</b> All entries must be submitted by <?php echo date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)); ?> using this online form.</li>
			</ol>

			<br />

			For questions, contact <?php echo $information['staff']->first_name; ?> <?php echo $information['staff']->last_name; ?> at (503) 682-6722 x229 or by e-mail to <?php echo Helpers::obfuscateEmailLink ($information['staff']->email); ?>.  For technical assistance, you can email <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.
		</div>		

		<br />

		<h2>Leagues &amp; Special Districts</h2>		
		
		<?php echo Form::open(array('url'    => url('/forms/registration/' . $information['activity']->slug),
						    'method' => 'get')); ?>		
			
			<?php
				// Remove any leagues from the drop-down list, if any to remove
				if (count($information['remove_leagues']) > 0)
				{
					foreach ($information['remove_leagues'] as $slug)
					{
						unset($information['leagues_list'][$slug]);
					}
				}
			?>

			<?php echo Form::select('league', $information['leagues_list'], null, array('style' => 'font-size: 12pt;')); ?>


			<?php echo Form::submit('Next', array('class' => 'button',
										  'style' => 'font-size: 9pt; margin-left: 30px;')); ?>
			

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

	<?php else: ?>
		
		<?php /*  A League is selected  */ ?>
		<br />		

		<img src="<?php echo asset('images/icons/wrestler_64px.png'); ?>" alt="" title="" style="float: left; width: 64px; height: 64px; position: relative; top: -1em;" />

		
		<div class="float_right" style="width: 325px; height: 4em; position: relative; top: -1em; text-align: right; color: #7d7b7d;">
			<?php if (!is_null($information['submission'])): ?>

			
				Form entries created at <?php echo date('g:i a m/d/Y', strtotime($information['submission']->created_at)); ?>.<br />
				Last updated at <?php echo date('g:i a m/d/Y', strtotime($information['submission']->updated_at)); ?>.<br />

				<?php if ($information['submission']->data->complete): ?>
					<img src="<?php echo asset('images/icons/check_mark_16px.png'); ?>" alt="" title="" style="width: 16px; margin-left: 10px; position: relative; top: 2px;" /><span style="font-weight: bold;"> Complete</span>
				<?php else: ?>
					<img src="<?php echo asset('images/icons/incomplete_16px.png'); ?>" alt="" title="" style="width: 16px; margin-left: 10px; position: relative; top: 2px;" /><span style="font-weight: bold;"> Incomplete</span>
				<?php endif; ?>
			
			<?php else: ?>
				<img src="<?php echo asset('images/icons/incomplete_16px.png'); ?>" alt="" title="" style="width: 16px; margin-left: 10px; position: relative; top: 2px;" /><span style="font-weight: bold;"> Incomplete</span>
			<?php endif; ?>
		</div>


		<h1><?php echo $information['league']->slug; ?> <?php echo $information['league']->name; ?></h1>

		<br />

		<div class="online_form_instructions ui-corner-all">
			<span class="ui-icon ui-icon-info" style="display:inline-block; position:relative; top:2px;"></span>
			<b>Instructions</b> <br />
			<ol>
				<li>Required fields are noted with a red asterisk<span class="required_marker" style="margin-left: 0;">*</span>.</li>
				<li>Additional instructions and hints are included before each section.</li>
				<li>Click <b>Save</b> at any time to save your entries without submitting the form.</li>			
				<li>When finished, click <b>Submit</b> to turn in this form with the entries provided.  E-mails will be sent to <?php echo $information['staff']->first_name; ?> <?php echo $information['staff']->last_name; ?> and the meet director.</li>			
				<li>You can go back to the league selection page by clicking the <b>Back</b> button.  You will lose all unsaved entries.</li>
				<li><b>Note:</b> All entries must be submitted by <?php echo date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)); ?> using this online form.</li>
			</ol>

			<br />

			For questions, contact <?php echo $information['staff']->first_name; ?> <?php echo $information['staff']->last_name; ?> at (503) 682-6722 x229 or by e-mail to <?php echo Helpers::obfuscateEmailLink ($information['staff']->email); ?>.  For technical assistance, you can email <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.
		</div>		

		<br />			

		<?php if (Session::has('errors')): ?>                
            <div class="ui-state-error" style="padding: 2px 4px;">
				<span class="ui-icon ui-icon-alert" style="display:inline-block; position:relative; top:2px;"></span>
            	<?php foreach ($errors->all() as $error): ?><?php echo $error; ?> <?php endforeach; ?>
            </div>
            <br />
        <?php endif; ?>        
		
		<?php echo Form::open(array('url'    => url('/forms/submit'),
						    'method' => 'post',
						    'class'  => 'registration_form')); ?>

			<?php echo Form::hidden('form', 'REGISTRATION'); ?>
			<?php echo Form::hidden('league', $information['league']->slug); ?>
			<?php echo Form::hidden('activity', $information['activity']->slug); ?>
			
			<?php if (date(time()) < strtotime ('2013-10-21 23:59:59')): ?>

		        <div class="ui-state-highlight ui-corner-all" style="padding: 0.5em 0.75em; font-size: 10pt; line-height: 1.1em;">
					<span class="ui-icon ui-icon-wrench" style="display:inline-block; position:relative; top:2px;"></span>
					<b style="font-size: 11pt; line-height: 2em;">Test Mode Enabled</b> <br />
					This form is in test mode.  While in test mode, you can practice entering information to see what the final submission will look like.  E-mails will only be sent to the meet director (if an e-mail address is provided,) the form submitter, and to <?php echo $information['staff']->first_name; ?> <?php echo $information['staff']->last_name; ?>.  After 10/20/2013, the test mode will be disabled and all test submissions will be purged from the database.
				</div>

				<?php echo Form::hidden('test', 'true'); ?>

			<?php endif; ?>


			<div class="columns">

				<div class="half">
					
					<h2>Meet Director</h2>	
					<p class="gray note">Who is the meet director?</p>
					<dl>
					
						<dt><?php echo Form::label('director[name]', 'Name'); ?></dt>
						<dd><?php echo Form::text('director[name]',
									      (is_null($information['submission'])) ? null : $information['submission']->data->director->name,
									      array('style' => 'width: 175px;', 'data-required' => 'required', 'placeholder' => 'First Last')); ?></dd>

						<dt><?php echo Form::label('director[email]', 'E-mail'); ?></dt>
						<dd><?php echo Form::text('director[email]',
										  (is_null($information['submission'])) ? null : $information['submission']->data->director->email,
										  array('style' => 'width: 225px;', 'data-required' => 'required', 'placeholder' => 'E-mail address')); ?></dd>

						<dt><?php echo Form::label('director[phone]', 'Phone'); ?></dt>
						<dd><?php echo Form::text('director[phone]',
									      (is_null($information['submission'])) ? null : preg_replace('/[^0-9]/', '', $information['submission']->data->director->phone),
									      array('class' => 'numbers_only', 'style' => 'width: 100px;', 'data-required' => 'required', 'placeholder' => '##########')); ?></dd>

					</dl>
				
					<div class="button save float_right" style="font-size: 9pt;">Save</div>
				</div>							

			</div>		
			

			<br class="clear" />			

			<div class="horizontal_divider" style="width: 100%;"></div>
			<br />

			<h2>Team Participation in the <?php echo $information['league']->slug; ?> <?php echo $information['league']->name; ?> Meet</h2>

			<p class="gray note">For each team, please enter in the number of varsity participants that competed at the meet (maximum is 28 participants per team.)</p>
			
			<div class="columns">

				<div class="half">

					<?php if (count($information['league_aps']) > 0): ?>

						<table class="teams" style="width: 400px;">

							<thead>
								<tr>
									<th class="name">Name</th>
									<th class="number">Participants</th>												
								</tr>
							</thead>

							<tbody>						

								<?php foreach ($information['league_aps'] as $ap): ?>
									<tr>
										<td class="name"><b><?php echo $ap->name; ?></b></td>
										<td class="number">
											<?php echo Form::text('participants[' . $ap->id . ']',
													      (is_null($information['submission'])) ? null : $information['submission']->data->participants->{$ap->id},
													      array('class' => 'participation_number numbers_only',
													      	    'style' => 'width: 50px;',
													      	    'data-required' => 'required',
													      	    'placeholder' => '#')); ?>
										</td>								
									</tr>

								<?php endforeach; ?>

							</tbody>
						</table>						

					<?php else: ?>
						<div class="online_form_late ui-state-error ui-corner-all">
							<span class="ui-icon ui-icon-alert" style="display:inline-block; position:relative; top:2px;"></span>		
								No teams are assigned to this league.  This is a problem.  Contact <?php echo $information['staff']->first_name; ?> <?php echo $information['staff']->last_name; ?> for correcting this issue.
						</div>
					<?php endif; ?>

					<br />

					<div class="button save float_right" style="font-size: 9pt;">Save</div><br />
				</div>

				<div class="half">
					<div class="text_center" style="margin-top: 4em; color: #7d7b7d;">
						<span id="total_participation" style="font-size: 60pt; color: #d9e1e0;"></span>
						<br />
						Total Varsity Participants
					</div>
				</div>
			</div>

			<br class="clear" />
			

			<div class="horizontal_divider" style="width: 100%;"></div>
			<br />

			<h2>Officials Ballot</h2>

			<p class="gray note">
				Select the number one, number two, and number three official as voted on by the Head Wrestling Coaches of all teams participating in the tournament.
			</p>

			<?php echo Form::label('officials[0]', '#1 Official', array('style' => 'font-weight: bold; width: 100px; display: inline-block;')); ?>
			<?php echo Form::select('officials[0]',
							$information['wre_officials']->list,
							(is_null($information['submission'])) ? null : $information['submission']->data->officials[0],
							array('style' => 'padding-right: 1em;',
							      'data-required' => 'required')); ?>

			<br /><br />

			<?php echo Form::label('officials[1]', '#2 Official', array('style' => 'font-weight: bold; width: 100px; display: inline-block;')); ?>
			<?php echo Form::select('officials[1]',
							$information['wre_officials']->list,
							(is_null($information['submission'])) ? null : $information['submission']->data->officials[1],
							array('style' => 'padding-right: 1em;',
							      'data-required' => 'required')); ?>

			<br /><br />

			<?php echo Form::label('officials[2]', '#3 Official', array('style' => 'font-weight: bold; width: 100px; display: inline-block;')); ?>
			<?php echo Form::select('officials[2]',
							$information['wre_officials']->list,
							(!is_null($information['submission']) and isset($information['submission']->data->officials[2])) ? $information['submission']->data->officials[2] : null,
							array('style' => 'padding-right: 1em;')); ?>
			

			<br />

			<div class="button save float_right" style="font-size: 9pt;">Save</div><br />

			<div class="horizontal_divider" style="width: 100%;"></div>
			<br />

			<div style="float: right; width: 80%; padding-top: 0.5em;">
				Click <b>Submit</b> to turn in your wrestling district's supplemental report form.
			</div>


			<?php echo Form::submit('Submit', array('class' => 'button',
										    'style' => 'font-size: 11pt;')); ?>			
			
		<?php echo Form::close(); ?>

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

	<?php endif; ?>


	

	<div id="submissions_report" style="display: none;"></div>

	<div id="entries_report" style="display: none;"></div>

	<img src="http://www.osaa.org/images/icons/ajax_loader3.gif" style="display: none;" />	

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

