我想将list.blade.php放入另一个刀片(jobrole.blade)的选项卡中,以便在刀片中显示不同的刀片内容的一些选项卡
我设法显示了列表但是标签消失了:我使用了@include
@include('backpack::crud.list', array("crud" => $crud))
这里有一些照片让你看到我的意思
如何在显示list.blade.php
时阻止标签消失这里是jobrole.blade.php
@section('content')
<div class="row">
<div class="col-md-12">
<div class="box box-default">
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#home">Role</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu1">Accountabilities</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu2">PhysReqs</a>
</li>
</ul>
{{--@dd(get_defined_vars());--}}
<!-- Tab panes -->
<div class="tab-content">
<div id="home" class="container tab-pane active"><br>
@include('backpack::crud.list', array("crud" => $crud))
</div>
<div id="menu1" class="container tab-pane fade"><br>
<a href="{{ backpack_url('accountability') }}">Accountability</a>
</div>
<div id="menu2" class="container tab-pane fade"><br>
<h3>Menu 2</h3>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>
</div>
</div>
</div>
</div>
</div>
@endsection