This commit is contained in:
Samuel Štancl 2019-09-18 09:27:19 +02:00
parent bbe4fcd7fc
commit 4aed20fb60

View file

@ -59,7 +59,12 @@
<div class="flex flex-1 justify-end items-center text-right md:pl-10">
<select id="versionSelect">
@foreach($page->navigation as $version => $_)
<option value="{{ $page->baseUrl . $version }}">
<option
value="{{ $page->baseUrl . $version }}"
@if($page->version() === $version)
'checked'
@endif
>
{{ $version }}
</option>
@endforeach