~yerinalexey/gtranslate

598ca5d15e9ad49fde3b9a74aebc53e5ee785714 — Alexey Yerin 4 months ago f2cea08
web: add "Detect language" option
1 files changed, 1 insertions(+), 0 deletions(-)

M templates/index.html
M templates/index.html => templates/index.html +1 -0
@@ 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}}