@extends('layouts.admin') @section('title') Squadre @stop @section('content')
{!! Form::label('season_id', 'Stagione:') !!} {!! Form::select('season_id', [''=>''] + $seasons, isset($_GET["season_id"]) ? $_GET["season_id"] : null, ['class' => 'form-control']) !!}
{!! Form::label('type', 'Tipologia:') !!} {!! Form::select('type', ['' => '', 'nation' => 'Nazionale', 'region' => 'Regionale'] , isset($_GET["type"]) ? $_GET["type"] : null, array('class' => 'form-control')) !!}
{!! Form::label('category_id', 'Categoria:') !!} {!! Form::select('category_id', [''=>''] + $categories, isset($_GET["category_id"]) ? $_GET["category_id"] : null, ['class' => 'form-control']) !!}
{!! Form::label('group_id', 'Girone:') !!} {!! Form::select('group_id', [''=>''] + $groups, isset($_GET["group_id"]) ? $_GET["group_id"] : null, ['class' => 'form-control']) !!}
@foreach($teams as $team) @endforeach
Nome Punti penalità Esclusa Ritirata Stagione
{{$team->name}} {{$team->penality}} {{$team->excluded ? 'Si' : ''}} {{$team->day > 0 ? $team->day . " " . $team->type : ''}} {{$team->season->name}} Modifica @if(false) {!! Form::open(array('class' => 'form-inline', 'method' => 'DELETE', 'route' => array('teams.destroy', $team->id))) !!} {!! Form::close() !!} @endif
@stop @section('extra_js') @stop