~yerinalexey/gtranslate

9674e124cdabbd6616e805e6baba70a0b767eae3 — Alexey Yerin 4 months ago 598ca5d
web: set better defaults for translation form
1 files changed, 1 insertions(+), 1 deletions(-)

M web.go
M web.go => web.go +1 -1
@@ 16,7 16,7 @@ func CreateWebHandler(tmpl *template.Template, settings *TranslateSettings) func
		}

		if req.Method == "GET" {
			tmpl.ExecuteTemplate(w, "index", indexPageData{Languages, "", "", "", ""})
			tmpl.ExecuteTemplate(w, "index", indexPageData{Languages, "auto", "en", "", ""})
			return
		}