        <div class="portlet-heading portlet-default">
            <h3 class="portlet-title text-dark">
                @yield('title') para {{$grado->grado." ".$nivel->corto}}
            </h3>
            <div class="portlet-widgets">
                <a data-toggle="collapse" class="btn btn-secondary" data-parent="#accordion{{$nivel->idnivel}}" href="#grado{{$grado->idgrado}}"><i class="ion-minus-round text-light"></i></a>
                <span class="divider"></span>
                <button type="button" onclick="location.href='{{ route('asignaturas.create')."/".$grado->idgrado}}'" class="btn btn-success"><i class="ti-plus"></i> Agregar Asignatura</button>
            </div>
            <div class="clearfix"></div>
        </div>
        <div id="grado{{$grado->idgrado}}" class="panel-collapse collapse show">
            <div class="portlet-body">
                <table class="table table-hover table-striped wrap" wrap>