@if(count($coadministration))
    <div class="d-flex px-2 py-1 bg-white border-bottom align-items-baseline">
        <span>Count: <b>{{count($coadministration)}}</b></span>
        <a href="#" class="text-sm ml-auto" onclick="$(this).parent().next('table').toggle(); return false;">Toggle</a>
    </div>
    <table class="table table-sm table-striped table-bordered" style="display: none">
        <tbody>
        @foreach($coadministration as $item)
            <tr>
                <td>{{$item->coadmin_dosing_text}}</td>
            </tr>
        @endforeach
        </tbody>
    </table>
@endif

