flex list blade
This commit is contained in:
@@ -33,8 +33,6 @@ class FlexAdminController extends Controller
|
||||
//Get the structures from the database
|
||||
$structures = FlexStructure::all();
|
||||
|
||||
dd($structures);
|
||||
|
||||
return view('flex.list')->with('structures', $structures);
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<h2>Flex Structures</h2>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@if($structures != null)
|
||||
{!! Form::open(['action' => 'Flex\FlexAdminController@removeFlexStructure', 'method' => 'POST']) !!}
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
@@ -38,9 +37,6 @@
|
||||
</table>
|
||||
{{ Form::submit('Remove', ['class' => 'btn btn-danger']) }}
|
||||
{!! Form::close() !!}
|
||||
@else
|
||||
<h3>No Flex Structures Registered</h3>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user