@@ -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 | /** |