<div class="row mt-3">
    <div class="col-12">

        <div class="table-responsive p-0 bg-white table-sm">
            <table class="table table-hover text-nowrap table-striped border-left border-right border-bottom">
                <thead>
                <tr>
                    <th colspan="2" class="px-2">Record Details</th>
                </tr>
                </thead>
                <tbody>
                @foreach($record as $k => $v)
                    <tr>
                        <td class="px-2 text-secondary border-right">{{ ucwords(str_replace("_", " ", $k)) }}</td>
                        <td class="px-2 font-weight-bold">{{ $record->$k }}</td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>
</div>
