@section('page_title')
OSAA - Add a Team
@stop
@section('page_sub_title')
Add a {{ Helpers::getActivityName($information['activity_program']->activity) }} Team to {{ $information['activity_program']->name }}
@stop
@section('scripts')
@parent
@stop
@section('jquery_init')
$('.tooltip').tooltip();
$('.button').button();
@stop
@section('page_functions')
@stop
@section('main_content')
Add a team
Select which team(s) you wish to add to this activity program. Click Add when ready to create the new teams.
{{ Form::open(array('url' => url('/teams/add'), 'class' => 'addContest')) }}
@if (Session::has('errors'))
@foreach ($errors->all() as $error){{ $error }} @endforeach
@endif
{{ Form::hidden('activity_program', $information['activity_program']->id) }}
1
@if ($information['activity_program']->hasTeam('V'))
{{ Form::checkbox('V', true, false, array('id' => 'V', 'class' => 'button', 'disabled' => 'disabled')) }}
{{ Form::label('V', 'Varsity', array('style' => 'font-size:10pt;', 'class' => 'tooltip ui-state-highlight', 'title' => 'A varsity team already exists.')) }}
A varsity team already exists.
@else
{{ Form::checkbox('V', true, false, array('id' => 'V', 'class' => 'button', 'disabled' => 'disabled')) }}
{{ Form::label('V', 'Varsity', array('style' => 'font-size:10pt;', 'class' => 'tooltip ui-state-highlight', 'title' => 'You cannot add a varsity team, contact the OSAA office if you want to add a varsity level.')) }}
You cannot add a varsity team, contact the OSAA office if you want to add a varsity level.
@endif
2
@if ($information['activity_program']->hasTeam('JV'))
{{ Form::checkbox('JV', true, false, array('id' => 'JV', 'class' => 'button', 'disabled' => 'disabled')) }}
{{ Form::label('JV', 'Junior Varsity', array('style' => 'font-size:10pt;', 'class' => 'tooltip ui-state-highlight', 'title' => 'A junior varsity team already exists.')) }}
A junior varsity team already exists.
@else
{{ Form::checkbox('JV', true, false, array('id' => 'JV', 'class' => 'button')) }}
{{ Form::label('JV', 'Junior Varsity', array('style' => 'font-size:10pt;', 'class' => 'tooltip', 'title' => 'Add a junior varsity team.')) }}
@endif
3
@if ($information['activity_program']->hasTeam('JV2'))
{{ Form::checkbox('JV2', true, false, array('id' => 'JV2', 'class' => 'button', 'disabled' => 'disabled')) }}
{{ Form::label('JV2', 'Junior Varsity 2', array('style' => 'font-size:10pt;', 'class' => 'tooltip ui-state-highlight', 'title' => 'A second junior varsity team already exists.')) }}
A second junior varsity team already exists.
@else
{{ Form::checkbox('JV2', true, false, array('id' => 'JV2', 'class' => 'button')) }}
{{ Form::label('JV2', 'Junior Varsity 2', array('style' => 'font-size:10pt;', 'class' => 'tooltip', 'title' => 'Add a second junior varsity team.')) }}
@endif
4
@if ($information['activity_program']->hasTeam('FR'))
{{ Form::checkbox('FR', true, false, array('id' => 'FR', 'class' => 'button', 'disabled' => 'disabled')) }}
{{ Form::label('FR', 'Freshman', array('style' => 'font-size:10pt;', 'class' => 'tooltip ui-state-highlight', 'title' => 'A freshman team already exists.')) }}
A freshman team already exists.
@else
{{ Form::checkbox('FR', true, false, array('id' => 'FR', 'class' => 'button')) }}
{{ Form::label('FR', 'Freshman', array('style' => 'font-size:10pt;', 'class' => 'tooltip', 'title' => 'Add a freshman team.')) }}
@endif
5
@if ($information['activity_program']->hasTeam('FR2'))
{{ Form::checkbox('FR2', true, false, array('id' => 'FR2', 'class' => 'button', 'disabled' => 'disabled')) }}
{{ Form::label('FR2', 'Freshman 2', array('style' => 'font-size:10pt;', 'class' => 'tooltip ui-state-highlight', 'title' => 'A second freshman team already exists.')) }}
A second freshman team already exists.
@else
{{ Form::checkbox('FR2', true, false, array('id' => 'FR2', 'class' => 'button')) }}
{{ Form::label('FR2', 'Freshman 2', array('style' => 'font-size:10pt;', 'class' => 'tooltip', 'title' => 'Add a second freshman team.')) }}
@endif
{{ Form::submit('Add', array('class' => 'float_right button', 'style' => '')) }}
{{ Form::close() }}
@stop