@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.back').button({ icons : { primary : 'ui-icon-arrowthick-1-w'}});
$('.button.save').button({ icons : { primary : 'ui-icon-disk'}});
$('.tooltip').tooltip();
/* Limit input to numbers only */
$('.numbers_only').bind('input', function()
{
$(this).val($(this).val().replace(/[^0-9]/gi, ''));
});
$('[required]').after('*');
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();
$('[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('');
}
});
});
/* Display any success messages */
$('.success_message').delay(5000).fadeOut({'duration' : 2500});
$('.success_message .ui-icon-close').click(function ()
{
$('.success_message').hide();
});
$('#participation_survey').submit(function()
{
var ok_to_submit = true;
$('input[required]').each(function()
{
var item = $(this);
var value = item.val();
var message = item.attr('required');
if (value == '')
{
ok_to_submit = false;
}
});
if (!ok_to_submit)
{
alert('You forgot to provide an entry for a required field.');
}
return ok_to_submit;
});
@stop
@section('page_functions')
Close
@stop
@section('main_content')
@if (Session::get('success'))
{{ Session::get('success') }}
@endif
@if ($information['is_past_due'])
This form was due by {{ date('g:i A l, F j, Y', strtotime($information['seasonal_school_form']->due_at)) }} and is now past the deadline. Please submit your entries now before the form closes and becomes unavailable.
@endif
@if (!is_null($information['submission']))
Form entries created at {{ date('g:i a m/d/Y', strtotime($information['submission']->created_at)) }}.
Last updated at {{ date('g:i a m/d/Y', strtotime($information['submission']->updated_at)) }}
by {{ $information['submission']->user_first_name }} {{ $information['submission']->user_last_name }}.
@endif
{{ $season }} Activity Program Participation for {{ $information['seasonal_school_form']->school_year }}-{{ substr($information['seasonal_school_form']->school_year, 2, 2) + 1 }}
@if (Session::has('errors'))
@foreach ($errors->all() as $error){{ $error }} @endforeach
@endif
{{ Form::open(array('url' => url('/forms/submit'),
'method' => 'post',
'id' => 'participation_survey')) }}
{{ Form::hidden('form', 'PARTICIPATION') }}
{{ Form::hidden('school', $information['school']->id) }}
{{ Form::hidden('season', $information['seasonal_school_form']->season) }}
| Sport / Activity |
# Boys |
# Girls |
{{--# Foreign Exchange | --}}
@if (count($information['activity_programs']) > 0)
@foreach ($information['activity_programs'] as $activity_program)
|
{{ Helpers::getActivityName($activity_program->activity) }}
|
@foreach (array('boys', 'girls') as $item)
{{ Form::text($activity_program->activity . '_' . $item,
$number,
array('class' => 'numbers_only',
'style' => 'width: 75px;',
'placeholder' => $item)) }}
|
@endforeach
@endforeach
@else
Your school was not involved in any activities this season. |
@endif
@if (Helpers::strEqual($information['seasonal_school_form']->season, 'S'))
{{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }} School Year Enrollment Survey
These students are Home School, Associate Member School, or Private School students that participated for your school in an OSAA sanctioned activity this school year but didn't attend your school full time. Your school should have completed a School Representation Eligibility Certificate for each of the students counted below. Students competing in more than one OSAA activity should only be counted once.
{{ Form::label('survey_home_school', 'Home School Students') }}
{{ Form::text('survey_home_school',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'survey_home_school')) ? $information['submission']->data->survey_home_school : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
How many Home School students participated for your school during the {{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }} school year?
{{-- Private school students --}}
@if (Helpers::strEqual($information['school']->school_type, 'PRI'))
{{ Form::hidden('survey_associate_school', 0) }}
@else
{{ Form::label('survey_associate_school', 'Associate Member School Students') }}
{{ Form::text('survey_associate_school',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'survey_associate_school')) ? $information['submission']->data->survey_associate_school : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
How many Associate Member School students participated for your school during the {{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }} school year?
@endif
{{-- Private school students --}}
@if (Helpers::strEqual($information['school']->school_type, 'PRI'))
{{ Form::hidden('survey_private_school', 0) }}
@else
{{ Form::label('survey_private_school', 'Private School Students') }}
{{ Form::text('survey_private_school',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'survey_private_school')) ? $information['submission']->data->survey_private_school : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
How many Private School students participated for your school during the {{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }} school year?
@endif
{{-- Out of district students --}}
@if (Helpers::strEqual($information['school']->school_type, 'PRI'))
{{ Form::hidden('survey_outside_district', 0) }}
@else
{{ Form::label('survey_outside_district', 'Enrolled Out of District Students') }}
{{ Form::text('survey_outside_district',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'survey_outside_district')) ? $information['submission']->data->survey_outside_district : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
How many out of district tuition paying students attended your school during the {{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }} school year? These are students who do not live in your district but pay tuition to attend your school.
@endif
{{-- Private School ADM numbers --}}
@if (Helpers::strEqual($information['school']->school_type, 'PRI'))
Enrollment Figures for {{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }}
The Oregon Department of Education (ODE) supplies the OSAA with Average Daily Membership (ADM) figures for all public high school in Oregon, but not for private schools. The OSAA will compute your ADM when you provide us with your actual enrollment figures for the {{ $information['seasonal_school_form']->school_year }}-{{ substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) }} school year using this form.
Enrollment on: (grades 9 through 12)
{{ Form::label('adm_part_1', 'Sept 15, ' . $information['seasonal_school_form']->school_year) }}
{{ Form::text('adm_part_1',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'adm_part_1')) ? $information['submission']->data->adm_part_1 : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
{{ Form::label('adm_part_2', 'Dec 1, ' . $information['seasonal_school_form']->school_year) }}
{{ Form::text('adm_part_2',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'adm_part_2')) ? $information['submission']->data->adm_part_2 : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
{{ Form::label('adm_part_3', 'Feb 28, ' . ($information['seasonal_school_form']->school_year + 1)) }}
{{ Form::text('adm_part_3',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'adm_part_3')) ? $information['submission']->data->adm_part_3 : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
{{ Form::label('adm_part_4', 'Apr 15, ' . ($information['seasonal_school_form']->school_year + 1)) }}
{{ Form::text('adm_part_4',
(!is_null($information['submission']) and property_exists($information['submission']->data, 'adm_part_4')) ? $information['submission']->data->adm_part_4 : null,
array('style' => 'width: 50px;',
'class' => 'numbers_only',
'maxlength' => '4',
'placeholder' => '##',
'required' => 'required')) }}
Free / Reduced Lunch
In April, 2013, the OSAA Delegate Assembly approved a proposal to use an adjusted ADM number for all schools for classification purposes. This adjusted number will include using a school's free and reduced lunch number multiplied by 25% and subtracted from the school's ADM. ODE provides the free and reduced lunch number for public schools. For private schools, the schools' free and reduced lunch number will be submitted to the OSAA using the same household size and income form and guidelines required by ODE.
{{ Form::label('adm_free_reduced', 'Yes, our school intends to submit free and reduced lunch numbers to the OSAA for the ' . $information['seasonal_school_form']->school_year . '-' . substr(intval($information['seasonal_school_form']->school_year) + 1, 2, 2) . ' school year.') }}
{{ Form::checkbox('adm_free_reduced',
true,
(!is_null($information['submission']) and property_exists($information['submission']->data, 'adm_free_reduced')) ? $information['submission']->data->adm_free_reduced : false,
array('style' => 'vertical-align: middle; width: 24px;')) }}
If not, leave un-checked. If yes, check this box and the OSAA will send you the application forms required by ODE.
@else
{{ Form::hidden('adm_part_1', 0) }}
{{ Form::hidden('adm_part_2', 0) }}
{{ Form::hidden('adm_part_3', 0) }}
{{ Form::hidden('adm_part_4', 0) }}
{{ Form::hidden('adm_free_reduced', false) }}
@endif
@endif
{{ Form::submit('Submit', array('class' => 'button float_right',
'style' => 'font-size: 10pt;')) }}
{{ Form::close() }}
@stop