displayfleets blade
This commit is contained in:
@@ -11,6 +11,16 @@
|
||||
@if(Auth::user()->character_id == $data[0][$i])
|
||||
<a href="{{ route('deletefleet', [$data[1][$i]]) }}">Delete Fleet</a><br><br>
|
||||
@endif
|
||||
<!-- Create form for inserting a user by name -->
|
||||
@if(Auth::user()->character_id == $data[0][$i])
|
||||
{!! Form::open(['action' => '/fleets/{fleet_id}/addpilot/{name}', 'method' => 'GET']) !!}
|
||||
<div class="form-group col-md-4">
|
||||
{{ Form::label('pilot', 'Pilot') }}
|
||||
{{ Form::text('pilot', '', ['class' => 'form-control']) }}
|
||||
</div>
|
||||
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
|
||||
{!! Form::close() !!}
|
||||
@endif
|
||||
@endfor
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user