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

14 lines
490 B
PHP
Raw Normal View History

<!-- Language Menu -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
2016-12-11 15:17:24 +08:00
<i class="fa fa-language" aria-hidden="true"></i>
<span class="description-text">Language</span>
<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>