Small tweaks
git-svn-id: file:///srv/svn/repo/mai/trunk@26 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
@@ -34,8 +34,12 @@
|
||||
<div class="language">
|
||||
<select name="from" aria-label="Source language">
|
||||
{{range $code, $name := .SourceLanguages}}
|
||||
{{if and (eq $code "auto") $.SourceLanguage}}
|
||||
<option value="{{ $code }}" {{if eq $code $.From}}selected{{end}}>{{ $name }} ({{index $.SourceLanguages $.SourceLanguage}})</option>
|
||||
{{else }}
|
||||
<option value="{{ $code }}" {{if eq $code $.From}}selected{{end}}>{{ $name }}</option>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -78,7 +82,7 @@
|
||||
<br>
|
||||
|
||||
<div class="center">
|
||||
<button type="submit">Translate with {{ .Engine }}!</button>
|
||||
<button type="submit">Translate with {{ index .enginesNames .Engine }}!</button>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user