HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/douven.komma.pro/resources/views/kms/attributes/table.blade.php
<div class="entity-attribute entity-attribute-table @if($errors->has($attribute->key)) error @endif {!!$attribute->class!!}" ng-controller="KmsAttributeSelectController">

    {!! Form::label($attribute->key, $attribute->label()) !!}

    <div class="content">
        @if($attribute->getData())
        <table>
            <tr>
                @foreach(array_keys($attribute->getData()[0]) as $key)
                    <th>{!! $key !!}</th>
                @endforeach
            </tr>
            @foreach($attribute->getData() as $dataObject)
                <tr>
                    @foreach(array_keys($dataObject) as $key)
                        <td>{!! $dataObject[$key] !!}</td>
                    @endforeach
                </tr>
            @endforeach
        </table>
        @else
        <table>
            <tr><td>No data</td></tr>
        </table>
        @endif
    </div>

</div>