mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 09:32:29 +01:00
@class directive
used @class directive instead if statement
This commit is contained in:
parent
acaa6c9ac4
commit
d319502904
@ -6,9 +6,9 @@
|
||||
<div class="col-xs-12">
|
||||
<div class="nav-tabs-custom nav-tabs-floating">
|
||||
<ul class="nav nav-tabs">
|
||||
<li @if($activeTab === 'basic')class="active"@endif><a href="{{ route('admin.settings') }}">General</a></li>
|
||||
<li @if($activeTab === 'mail')class="active"@endif><a href="{{ route('admin.settings.mail') }}">Mail</a></li>
|
||||
<li @if($activeTab === 'advanced')class="active"@endif><a href="{{ route('admin.settings.advanced') }}">Advanced</a></li>
|
||||
<li @class(['active' => $activeTab === 'basic'])><a href="{{ route('admin.settings') }}">General</a></li>
|
||||
<li @class(['active' => $activeTab === 'mail'])><a href="{{ route('admin.settings.mail') }}">Mail</a></li>
|
||||
<li @class(['active' => $activeTab === 'advanced'])><a href="{{ route('admin.settings.advanced') }}">Advanced</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user