@if (count($info['activity_programs']) > 0)
Create a New Cooperation
This form is used to create a new coop where {{ $info['school']->short_name }} will be the host school (the school listed first.)
If you do not want {{ $info['school']->short_name }} to be listed first, go to the other school's page and click Add Coop. To modify or change an existing coop, please contact Gibby.
The following actions will be preformed in the database:
- Delete all contests/meets involving the other school's selected activity program, if any
- Delete all events linked to the other school's activity program, if any
- Delete all teams associated with the other school's activity program, if any
- Create a new coop record
- Update this school's activity program
- Update both schools' school offering records
- Rename all contests/meets involving this new coop
{{ Form::open(array('url' => '/schools/' . $info['school']->id . '/coops/new', 'style' => 'width: 100%;')) }}
{{ Form::hidden('school_id', $info['school']->id) }}
Host School
{{ $info['school']->short_name }} ({{ $info['school']->id}})
{{ Form::label('school_2', 'Other School', array('style' => 'font-weight: bold;')) }}
(school listed second)
{{ Form::select('school_2', $info['schools'], null, array('style' => '')) }}
{{ Form::label('activity_program', 'Activity', array('style' => 'font-weight: bold;')) }}
{{ Form::select('activity_program', $info['activity_programs'], null, array('style' => '')) }}
{{ Form::label('school_3', 'Other School #2', array('style' => 'font-weight: bold;')) }}
(school listed third)
{{ Form::select('school_3', $info['schools_2'], null, array('style' => '')) }}
{{ Form::label('league', 'League', array('style' => 'font-weight: bold;')) }}
(only select if the league is different because of this coop)
{{ Form::select('league', array_merge(array(null => ''), $info['leagues']), null, array('style' => '')) }}
{{ Form::label('starting_school_year', 'Starting School Year', array('style' => 'font-weight: bold;')) }}
{{ Form::select('starting_school_year', $info['school_years'], Session::get('year'), array('style' => '')) }}
{{ Form::label('ending_school_year', 'Ending School Year', array('style' => 'font-weight: bold;')) }}
{{ Form::select('ending_school_year', $info['school_years'], intval(Session::get('year')) + 3, array('style' => '')) }}
{{ Form::close() }}
@else
Unable to Create a Coop
There must be at least one activity program that {{ $info['school']->short_name }} hosts in order to create a new coop. If you are attempting to merge {{ $info['school']->short_name }} into a coop that another school is hosting, you must first go to that school's page and click Add Coop.
No activity programs found.
@endif