This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
add user language value to hidden input to enable saving of profile without changing language (
#3967
)
tags/v1.5.0-dev
David Schneiderbauer
Lauris BH
7 years ago
parent
7e08448a84
commit
563cf88a3b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
templates/user/settings/profile.tmpl
+ 1
- 1
templates/user/settings/profile.tmpl
View File
@@ -43,7 +43,7 @@
<div class="field">
<label for="language">{{.i18n.Tr "settings.language"}}</label>
<div class="ui language selection dropdown" id="language">
<input name="language" type="hidden">
<input name="language" type="hidden"
value="{{.SignedUser.Language}}"
>
<i class="dropdown icon"></i>
<div class="text">{{range .AllLangs}}{{if eq $.SignedUser.Language .Lang}}{{.Name}}{{end}}{{end}}</div>
<div class="menu">
Write
Preview
Loading…
Cancel
Save