@section('page_title') OSAA Staff @stop @section('header') Edit Cooperations @stop @section('jquery_init') $('table tbody tr:even').css('background-color', '#f2f2f2'); $("#cooperations tbody tr[is_retired]").css('background-color', '#7d7b7d'); @stop @section('content')

Cooperations

{{--

Add Cooperation

{{ Form::open(array('url' => url('/admin/add'), 'class' => 'addCooperation', 'id' => 'addCooperation')) }} {{ Form::hidden('return_url', Request::path()) }} {{ Form::close() }} --}}

List of Cooperations

@foreach ($coops as $coop) is_retired) is_retired="true" @endif> @endforeach
ID Name Host School School #2 School #3 School #4 Activity League Start End Comments Retired?
{{ $coop->id }} {{ $coop->name }} {{ $coop->schools['1']->short_name }} @if (isset ($coop->schools['2'])) {{ $coop->schools['2']->short_name }} @endif @if (isset ($coop->schools['3'])) {{ $coop->schools['3']->short_name }} @endif @if (isset ($coop->schools['4'])) {{ $coop->schools['4']->short_name }} @endif {{ $coop->activity }} {{ $coop->league }} {{ $coop->starting_school_year }} {{ $coop->ending_school_year }} {{ $coop->comments }} {{ $coop->is_retired }}
@stop