Show a debug tag while in local

This commit is contained in:
Deon George 2023-03-27 16:20:45 +11:00
parent f043c74ae6
commit 30b749dc75

View File

@ -37,9 +37,9 @@
<li class="nav-item"><a data-bs-toggle="tab" href="#placeholder" class="nav-link">placeholder</a></li> <li class="nav-item"><a data-bs-toggle="tab" href="#placeholder" class="nav-link">placeholder</a></li>
--}} --}}
<li class="nav-item"><a data-bs-toggle="tab" href="#internal" class="nav-link">{{ __('Internal') }}</a></li> <li class="nav-item"><a data-bs-toggle="tab" href="#internal" class="nav-link">{{ __('Internal') }}</a></li>
{{-- @env(['local'])
<li class="nav-item"><a data-bs-toggle="tab" href="#addtemplate" class="nav-link">{{ __('Add Template') }}</a></li> <li class="nav-item"><a data-bs-toggle="tab" href="#debug" class="nav-link">{{ __('Debug') }}</a></li>
--}} @endenv
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
@ -105,6 +105,19 @@
</div> </div>
</div> </div>
<!-- Debug -->
<div class="tab-pane" id="debug" role="tabpanel">
<div class="row">
<div class="col-6">
@dump($o)
</div>
<div class="col-6">
@dump($o->getAttributes())
</div>
</div>
</div>
{{-- {{--
<!-- Add Template --> <!-- Add Template -->
<div class="tab-pane" id="addtemplate" role="tabpanel"> <div class="tab-pane" id="addtemplate" role="tabpanel">