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 += \ editProfileForm += \
'<label class="labels">' + \ '<label class="labels">' + \
translate['Languages'] + '</label><br>\n' + \ translate['Languages'] + '</label><br>\n' + \
'<label class="labels">' + languagesListStr + '</label><br>\n' + \ ' <input type="text" ' + \
' <input type="text" name="showLanguages" value="' + \ 'placeholder="' + languagesListStr + \
'" name="showLanguages" value="' + \
showLanguages + '">\n' showLanguages + '">\n'
editProfileForm += ' </div>\n' editProfileForm += ' </div>\n'
return editProfileForm return editProfileForm