File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/storage/views/781930345e51e37d892b87f282c5d140
<div class="entity-attribute entity-attribute-editable-rows <?php echo e(count($attribute->errors) == 0 ? '' : ' error'); ?> <?php echo e($attribute->class); ?>" ng-controller="KmsAttributeEditableRowsController"> <?php echo Form::label($attribute->key, $attribute->label); ?> <?php echo Form::hidden($attribute->key, $attribute->getValue()); ?> <div class="content"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <?php foreach($attribute->getStructure() as $column): ?> <th><?php echo $column; ?></th> <?php endforeach; ?> </tr> <tr ng-repeat="(itemKey, item) in attributes.<?php echo $attribute->key; ?>"> <?php foreach($attribute->getStructure() as $columnKey => $column): ?> <td><input type="text" ng-model="item.<?php echo $columnKey; ?>" id="<?php echo $columnKey; ?>_{{itemKey}}" ng-change="processMainValue()"/></td> <?php endforeach; ?> <td><a href="" ng-click="deleteRow(itemKey)" class="btn btn-danger btn-trash btn-small">Verwijderen</a></td> </tr> <tr> <?php foreach($attribute->getStructure() as $columnKey => $column): ?> <td><input type="text" ng-model="new_<?php echo $columnKey; ?>" ng-change="addNewRow('<?php echo $columnKey; ?>')" placeholder="<?php echo $column; ?>" class="new-item-field"/></td> <?php endforeach; ?> <td> </td> </tr> </table> </div> <?php /* Deze structuur is al in de foreach verwerkt <script id="data-<?php echo $attribute->key; ?>" type="application/json"> { "structure" : <?php echo json_encode($attribute->getStructure()); ?> } </script> */ ?> </div>