Row adding, some webpack tweaks
This commit is contained in:
@@ -11,14 +11,16 @@
|
||||
<table class="table table-hover table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
@foreach($columns as $col)
|
||||
<th>{{ $col->title }}</th>
|
||||
<th title="{{$col->name}}">{{ $col->title }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($rows as $row)
|
||||
<tr>
|
||||
<td>{{$row->_id}}</td>
|
||||
@foreach($columns as $col)
|
||||
<td>{{ $row->{$col->name} }}</td>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user