File: D:/HostingSpaces/SBogers100/femmassebv.com/workbench/komma/kms/src/views/attributes/table.blade.php
<div class="entity-attribute entity-attribute-table{{{ count($attribute->errors) == 0 ? '' : ' error' }}} {{{$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>{{Config::get('kms::'.$lang.'/translations.noData')}}</td></tr>
</table>
@endif
</div>
</div>