@section('page_title') OSAA - Forms @stop @section('page_sub_title') {{ $information['form_name'] }} @stop @section('scripts') @parent @stop @section('jquery_init') $('.button').button(); $('.button.notext').button({text:false}); $('.button.close').button({ icons : { primary : 'ui-icon-circle-close'}}); $('.button.delete').button({ icons : { primary : 'ui-icon-closethick'}}); $('.button.add').button({ icons : { primary : 'ui-icon-plusthick'}}); $('.tooltip').tooltip(); /* Limit input to numbers and a decimal point for GPA entries */ {{-- $('.gpa input').bind('input', function() { $(this).val($(this).val().replace(/[^0-9\.]/gi, '')); }); --}} $('.gpa input').bind('change blur', function () { var v = parseFloat($(this).val()); if (v <= 0.0 || v > 4.0) { $(this).val(''); } updateTotals(); }); $('.gpa input').mask("9.9?9"); function updateTotals() { team = 0; total = 0; count = 0; $('.gpa input').each(function () { if ($(this).parents('tr').filter(':visible').size() > 0) { var v = parseFloat($(this).val()); if (v != '' && v > 0.0 && v <= 4.0) { count = count + 1; total = total + v; } } }); /* Calculate the team GPA, if any */ if (count > 0) { team = total / count; } else { team = 0; } /* Format the numbers for display */ team = team.toFixed(2); total = total.toFixed(2); /* Display the calculations */ $('#gpa_count').html(count); $('#total_gpa').html(total); $('#team_gpa').html(team); if (count < 5) { $('#submit').button('disable') .addClass('ui-state-error'); $('#min_note').html('(A minimum of 5 GPAs is required.)'); $('#min_note').fadeIn(); } else { $('#submit').button('enable') .removeClass('ui-state-error'); var missing_gpa = 0; $('td.gpa input:visible').each(function () { if ($(this).val() == '') missing_gpa += 1; }) if (missing_gpa == 0) { $('#min_note').fadeOut(); } if (missing_gpa == 1) { $('#min_note').html("(Missing " + missing_gpa + " student's GPA.)"); $('#min_note').fadeIn(); } if (missing_gpa > 1) { $('#min_note').html("(Missing " + missing_gpa + " students' GPA.)"); $('#min_note').fadeIn(); } } } /* Start the page with the calculations in the case of existing data */ updateTotals(); function colorRows () { $('table').each(function () { var i = 0; $('tbody tr:visible', $(this)).each(function () { if (i % 2 == 1) { $(this).addClass('odd'); } else { $(this).removeClass('odd'); } i = i + 1; }); }); } colorRows(); /* Remove a row */ $('tbody tr .button.delete').click(function () { var row = $(this).parents('tr'); $(row).remove(); colorRows(); updateTotals(); }); /* Add a row */ $('.button.add').click(function () { var row = $('.form_entries tr:hidden').first(); $(row).show(); colorRows(); updateTotals(); }); /* Display any success messages */ $('.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); }) }); $('#confirm_dialog').dialog({ autoOpen: false, resizable: false, height:368, width: 600, modal: true, buttons : [ { text : 'Yes, Submit Form', 'class' : 'float_left', click : function () { $('#all_state_form').submit(); $(this).dialog("close"); return true; } }, { text : 'No, Go Back', 'class' : 'float_right', click : function () { $(this).dialog( "close" ); return false; } } ], open : function () { $('.ui-dialog-buttonpane').css('padding', '0').css('font-size', '10pt'); $('.ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%'); } }); $('#submit').click(function (event) { $('#confirm_dialog').dialog('open'); }); @stop @section('page_functions') Close @stop @section('main_content') @if (Session::has('success'))
{{ Session::get('success') }}
@endif

{{ Helpers::getActivityName($information['activity_form']->activity) }} Academic All State Nomination Form


@if ($information['is_past_due'])
This form was due by {{ 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.
@endif
Instructions
  1. All entries must be submitted by {{ date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)) }} using this online form.
  2. List the entire varsity team only. Do not include sub-varsity participants.
  3. Do not combine boys and girl teams. Each activity has a separate form.
  4. Type in the name of the student, select his/her grade in school, and type a GPA for every student listed.
  5. Use the most recent, unweighted, transcripted grades included on each student's transcript. Do not use cumulative GPA.
  6. Be sure to include all co-op students and their GPA from his/her cooperating school.
  7. If a student's grades were not earned at your high school or cooperating high school during the previous transcripted grading period, please list his/her name and leave the GPA field blank. (For example: first term freshman, home school students, new exchange students, new transfer students.)
  8. There must be a minimum of 5 students with a GPA to submit this form. After the 5th GPA is entered and confirmed (which may require clicking or tabbing outside of that GPA's text-box,) the Submit button will be enabled (it will turn from red to blue.)

For questions, contact Kelly Foster at (503) 682-6722 x233 or by e-mail to {{ Helpers::obfuscateEmailLink ("kellyf@osaa.org") }}. For technical assistance, you can email {{ Helpers::obfuscateEmailLink ("support@osaa.org") }}.
@if (Session::has('errors'))
@foreach ($errors->all() as $error){{ $error }} @endforeach
@endif
Fatal error: Class 'team' not found in /home/osaa/web_app/dev/app/views/forms/all_state.blade.php on line 314