diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 4b16728..434a34f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,9 +3,9 @@ <form action="/search" method="get"> <input id="term" name="term" type="text" placeholder="search" required> <select id="lang" name="lang"> - <option>en</option> - <option>fr</option> - <option>de</option> + {{range .Langs}} + <option> {{.}}</option> + {{end}} </select> </form> {{end}} |
