@extends('admin.layouts.app') @section('content')
{{csrf_field()}}
@if(\Illuminate\Support\Facades\Session::has('msg')) @if(Session::get('html'))
{!! Session::get('msg') !!}
@else
{{Session::get('msg')}}
@endif @endif
Choreographies with incorrect age groups
@if(!isset($dances) || count($dances) < 1) Great! All dances seem OK. @else

Total dances affected: {{count($dances)}} Fix all

@foreach($dances as $key=>$dance) @endforeach
Name Organization Recommended age group Actual age group
{{$dance->name}} {{$dance->group->name}} {{$dance->getRecommendedAgeGroup()->name}} {{$dance->age_group->name}} Fix
@endif
@stop