web: set better defaults for translation form
This commit is contained in:
parent
598ca5d15e
commit
9674e124cd
2
web.go
2
web.go
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue