@if(count($dance->participants) < $dance->category->min_dancers)
Please note that you need to add at least {{$dance->category->min_dancers}} participants (currently added: {{count($dance->participants)}}, {{$dance->category->min_dancers-count($dance->participants)}} left)
@endif
{!! Form::open(['url' => 'dance/addparticipant/'.$dance->id, 'method'=>'post', 'class'=>'form-horizontal']) !!}
Dancers for choreography "{{$dance->name}}"
{!! Form::close() !!}
@if(count($dance->participants) < 1)
No dancers.
@else
@foreach($dance->participants as $dancer)
{{$dancer->first_name}} {{$dancer->last_name}}
@endforeach
@if(count($dance->participants) >= $dance->category->min_dancers)
{!! Form::open(['url' => Request::url(),'files' => true, 'method'=>'post', 'class'=>'form-horizontal']) !!}
@if(!env('DISABLE_START_POSITION',false))
@endif
@if(strlen($dance->mp3) > 0)
@endif
{!! Form::close() !!}
@endif
{{--@if(count($errors) > 0)
@foreach($errors->all() as $e)
{{$e}}
@endforeach
@endif--}}
@endif