@@ -8,10 +8,10 @@ |
||
| 8 | 8 | <?php $active = null; ?> |
| 9 | 9 | @foreach ($items as $label => $_tmp) |
| 10 | 10 | <?php |
| 11 | - if (is_null($active)) { |
|
| 12 | - $active = $label; |
|
| 13 | - } |
|
| 14 | - ?> |
|
| 11 | + if (is_null($active)) { |
|
| 12 | + $active = $label; |
|
| 13 | + } |
|
| 14 | + ?> |
|
| 15 | 15 | <li role="presentation" {!! ($active == $label) ? 'class="active"' : '' !!}><a href="#{{ md5($label) }}" aria-controls="{{ md5($label) }}" role="tab" data-toggle="tab">{{ $label }}</a></li> |
| 16 | 16 | @endforeach |
| 17 | 17 | </ul> |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Class DisplayTable. |
| 16 | - |
|
| 17 | 16 | * @method Columns getColumns() |
| 18 | 17 | * @method $this setColumns(ColumnInterface $column, ... $columns) |
| 19 | 18 | * |
@@ -89,9 +89,9 @@ |
||
| 89 | 89 | parent::initialize(); |
| 90 | 90 | |
| 91 | 91 | $this->getRepository() |
| 92 | - ->setParentField($this->getParentField()) |
|
| 93 | - ->setOrderField($this->getOrderField()) |
|
| 94 | - ->setRootParentId($this->getRootParentId()); |
|
| 92 | + ->setParentField($this->getParentField()) |
|
| 93 | + ->setOrderField($this->getOrderField()) |
|
| 94 | + ->setRootParentId($this->getRootParentId()); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
@@ -73,8 +73,8 @@ |
||
| 73 | 73 | protected function updateOrderFieldOnDelete() |
| 74 | 74 | { |
| 75 | 75 | static::orderModel() |
| 76 | - ->where($this->getOrderField(), '>', $this->getOrderValue()) |
|
| 77 | - ->decrement($this->getOrderField()); |
|
| 76 | + ->where($this->getOrderField(), '>', $this->getOrderValue()) |
|
| 77 | + ->decrement($this->getOrderField()); |
|
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Routing\Router; |
| 6 | 6 | use Request; |
| 7 | -use Route; |
|
| 8 | 7 | use Illuminate\Support\Collection; |
| 9 | 8 | use Illuminate\Database\Eloquent\Builder; |
| 10 | 9 | use SleepingOwl\Admin\Contracts\ModelConfigurationInterface; |