Show a debug tag while in local
This commit is contained in:
parent
f043c74ae6
commit
30b749dc75
@ -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="#internal" class="nav-link">{{ __('Internal') }}</a></li>
|
||||
{{--
|
||||
<li class="nav-item"><a data-bs-toggle="tab" href="#addtemplate" class="nav-link">{{ __('Add Template') }}</a></li>
|
||||
--}}
|
||||
@env(['local'])
|
||||
<li class="nav-item"><a data-bs-toggle="tab" href="#debug" class="nav-link">{{ __('Debug') }}</a></li>
|
||||
@endenv
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
@ -105,6 +105,19 @@
|
||||
</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 -->
|
||||
<div class="tab-pane" id="addtemplate" role="tabpanel">
|
||||
|
Loading…
Reference in New Issue
Block a user