Skip to content

Commit

Permalink
Reverting Blade directives which caused ":?>" to be shown in the temp…
Browse files Browse the repository at this point in the history
…late
  • Loading branch information
nWidart committed Oct 13, 2017
1 parent 5e70b23 commit 6925e49
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Modules/Menu/Resources/views/admin/menuitems/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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): ?>

This comment has been minimized.

Copy link
@mikemand

mikemand Oct 17, 2017

Contributor

This is the only line that needed to be fixed. :P @JulienTant just forgot to remove the closing : ?>

This comment has been minimized.

Copy link
@nWidart

nWidart Oct 17, 2017

Author Member

damn I missed that! 😲

<?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>
Expand Down

0 comments on commit 6925e49

Please sign in to comment.