forked from miguel456/rbrecruiter
Add country flag to dropdown
This commit is contained in:
parent
fd8bf4f0f2
commit
d743554df6
@ -60,7 +60,7 @@
|
||||
@foreach(Mcamara\LaravelLocalization\Facades\LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
|
||||
<li class="dropdown-item">
|
||||
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ Mcamara\LaravelLocalization\Facades\LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
|
||||
{{ $properties['native'] }}
|
||||
<img src="https://www.countryflags.io/{{$localeCode}}/flat/64.png"> {{ $properties['native'] }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user