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 //Get the structures from the database
$structures = FlexStructure::all(); $structures = FlexStructure::all();
dd($structures);
return view('flex.list')->with('structures', $structures); return view('flex.list')->with('structures', $structures);
} }

View File

@@ -7,7 +7,6 @@
<h2>Flex Structures</h2> <h2>Flex Structures</h2>
</div> </div>
<div class="card-body"> <div class="card-body">
@if($structures != null)
{!! Form::open(['action' => 'Flex\FlexAdminController@removeFlexStructure', 'method' => 'POST']) !!} {!! Form::open(['action' => 'Flex\FlexAdminController@removeFlexStructure', 'method' => 'POST']) !!}
<table class="table table-bordered table-striped"> <table class="table table-bordered table-striped">
<thead> <thead>
@@ -38,9 +37,6 @@
</table> </table>
{{ Form::submit('Remove', ['class' => 'btn btn-danger']) }} {{ Form::submit('Remove', ['class' => 'btn btn-danger']) }}
{!! Form::close() !!} {!! Form::close() !!}
@else
<h3>No Flex Structures Registered</h3>
@endif
</div> </div>
</div> </div>
</div> </div>