<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    @php
                        
                        $c_create = '.create';
                        $c_view = '.index';
                        $c_export = '.export';
                        
                        $createRoute = \Route::has($c_page . $c_create) ? route($c_page . $c_create) : '#';
                        $viewRoute = \Route::has($c_page . $c_view) ? route($c_page . $c_view) : '#';
                        $exportRoute = '#';
                    @endphp
                    <h1 class="m-0 text-dark">{{ $pageTitle }}</h1>
                </div><!-- /.col -->

                <div class="col-sm-6">

                    @if (!in_array($c_page, $operationMenu))
                        <div class="row float-right">
                            <a class="btn btn-app bg-warning" href="{{ $createRoute }}">
                                <i class="fas fa-plus-circle"></i>Add
                            </a>
                            <a class="btn btn-app bg-success nav-link active" href="{{ $viewRoute }}">
                                <i class="fas fa-eye"></i>View
                            </a>

                        </div>
                    @endif
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
