@extends('_LAYOUT_')
@section('content-inner')

    <div class="pb-3">

        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
            <div>_NAME_</div>
            <div class="ml-auto">
                <!-- _ADD_NEW_LINK_ -->
            </div>
        </h5>

        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
            <table class="table table-hover text-nowrap">
                <thead>
                <tr>
                    <!-- __SCAFFOLD_THS__ -->
                </tr>
                </thead>
                <tbody>
                @foreach($subRecords as $subRecord)
                    <tr>
                        <!-- __SCAFFOLD_TDS__ -->
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>

@endsection
