blessing-skin-server/resources/views/vendor/language.tpl

12 lines
436 B
PHP
Raw Normal View History

<!-- Language Menu -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
2016-10-16 18:16:15 +08:00
<i class="fa fa-language" aria-hidden="true"></i> Language <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
@foreach(config('locales') as $locale => $lang)
<li class="locale"><a href="{{ url('/locale/'.$locale) }}">{{ $lang }}</a></li>
@endforeach
</ul>
</li>