@section('page_title') OSAA - Team Editor @stop @section('page_sub_title') {{ $information['team_name_title'] }} @stop @section('scripts') @parent @stop @section('jquery_init') $('.tooltip').tooltip(); $('.button').button(); $('.button.back').button({ icons : { primary : 'ui-icon-arrowthick-1-w'}}); $('.button.save').button({ icons : { primary : 'ui-icon-disk'}}) /*.hover(function () { $(this).addClass('ui-state-highlight'); }, function () { $(this).removeClass('ui-state-highlight'); })*/ .click(function () { var contest = $(this).attr('data-contest') $('#form_' + contest).submit(); }); /* Limit input to numbers and a dash */ $('.record input').bind('input', function() { $(this).val($(this).val().replace(/[^0-9\-]/gi, '')); }); /* Display any success messages */ $('.success_message').delay(5000).fadeOut({'duration' : 2500}); $('.success_message .ui-icon-close').click(function () { $('.success_message').hide(); }); @stop @section('page_functions') Edit Team @stop @section('main_content') @if (Session::get('success'))
@endifYour team is scheduled to play or has played against the following out-of-state opponents. Your opponent's records are listed below, last updated on the date shown. Please provide your opponent's modified @if (Helpers::strEqual($information['activity_program']->activity, array('BSC', 'GSC'))) win - loss - tie @else win - loss @endif record. Out-of-State Records Help
Modified Records: Your out-of-state opponent's record needs to be modified by excluding the contest(s) against your team. Do not include any forfeited contests in their record either. For Oregon teams, we include regular season results and any league/district playoffs. State playoff results are not included. The same logic should be used when calculating season records for out of state opponents.
Example: Opponent is Camas (WA) with a record of 5-2. You beat them once in a contest. Enter their record as 5-1 (subtract 1 loss from their record because your win against them is excluded.)
@if (Session::has('errors'))| Contest Date/Time | Sport | Opponent | Result | Last Updated | @if (Helpers::strEqual($information['activity_program']->activity, array('BSC', 'GSC'))) Record (W-L-T) @else Record (W-L) @endif | |
|---|---|---|---|---|---|---|
| {{ date('D. m/j/Y g:i a', strtotime($contest->start_at)) }} | {{ Helpers::getActivityName($contest->activity) }} | @if (Helpers::strEqual($contest->my_designation, 'HOME')) {{ preg_replace('/\{.*\}/', '', $contest->away_team_name) }} @else {{ preg_replace('/\{.*\}/', '', $contest->home_team_name) }} @endif | {{ $contest->result }} |
{{ $contest->record_updated }}
|
{{ Form::text('record_' . $contest->id, $contest->oos_opponent_record) }} | |
| There are no out-of-state opponents on your schedule. | ||||||