Refactoring, change menu, add many features
This commit is contained in:
14
resources/views/components/form/translations.blade.php
Normal file
14
resources/views/components/form/translations.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="input-group">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fa fa-globe"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
@if (is_array($translations))
|
||||
@foreach ($translations as $lang => $translation)
|
||||
<a class="dropdown-item" href="#">{{ $lang }} : {{ $translation }}</a>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user