Fleets
@if(isset($error))
@endif
@if(isset($data))
@for($i = 0; $i < count($data[0]); $i++)
Join {{ $data[2][$i] }}
@if(Auth::user()->character_id == $data[0][$i])
Delete Fleet
@endif
@if(Auth::user()->character_id == $data[0][$i])
{!! Form::open(['action' => '/fleets/{fleet_id}/addpilot/{name}', 'method' => 'GET']) !!}
{{ Form::label('pilot', 'Pilot') }}
{{ Form::text('pilot', '', ['class' => 'form-control']) }}
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
@endif
@endfor
@endif
@endsection