Use placeholder to show languages list

main
Bob Mottram 2021-07-18 19:51:52 +01:00
parent d48a78ca8d
commit 0690c6d844
1 changed files with 3 additions and 2 deletions

View File

@ -1871,8 +1871,9 @@ def _htmlEditProfileMain(baseDir: str, displayNickname: str, bioStr: str,
editProfileForm += \
'<label class="labels">' + \
translate['Languages'] + '</label><br>\n' + \
'<label class="labels">' + languagesListStr + '</label><br>\n' + \
' <input type="text" name="showLanguages" value="' + \
' <input type="text" ' + \
'placeholder="' + languagesListStr + \
'" name="showLanguages" value="' + \
showLanguages + '">\n'
editProfileForm += ' </div>\n'
return editProfileForm