flex list blade

This commit is contained in:
2019-12-06 21:57:22 -06:00
parent b642ab0379
commit 153e17ee4a
2 changed files with 0 additions and 6 deletions

View File

@@ -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);
}

View File

@@ -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>