Reverting Blade directives which caused ":?>" to be shown in the template

parent 5e70b23b
......@@ -23,23 +23,21 @@
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<?php $i = 0; ?>
@foreach (LaravelLocalization::getSupportedLocales() as $locale => $language)
<?php foreach (LaravelLocalization::getSupportedLocales() as $locale => $language): ?>
<?php $i++; ?>
<li class="{{ App::getLocale() == $locale ? 'active' : '' }}">
<a href="#tab_{{ $i }}" data-toggle="tab">
{{ trans('core::core.tab.'. strtolower($language['name'])) }}
</a>
<a href="#tab_{{ $i }}" data-toggle="tab">{{ trans('core::core.tab.'. strtolower($language['name'])) }}</a>
</li>
@endforeach
<?php endforeach; ?>
</ul>
<div class="tab-content">
<?php $i = 0; ?>
@foreach (LaravelLocalization::getSupportedLocales() as $locale => $language): ?>
<?php foreach (LaravelLocalization::getSupportedLocales() as $locale => $language): ?>
<?php $i++; ?>
<div class="tab-pane {{ App::getLocale() == $locale ? 'active' : '' }}" id="tab_{{ $i }}">
@include('menu::admin.menuitems.partials.create-trans-fields', ['lang' => $locale])
</div>
@endforeach
<?php endforeach; ?>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment