web: add "Detect language" option

This commit is contained in:
Alexey Yerin 2021-05-10 19:35:37 +03:00
parent f2cea08bea
commit 598ca5d15e
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
From:
</label>
<select name="from" id="from" class="form__input">
<option value="auto">Detect language</option>
{{range $code, $name := $.Languages}}
<option value="{{$code}}" {{if eq $code $.From}}selected{{end}}>
{{$name|title}}