diff --git a/webapp_profile.py b/webapp_profile.py
index eced71548..3439b834b 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -1601,64 +1601,66 @@ def _htmlEditProfileFiltering(baseDir: str, nickname: str, domain: str,
def _htmlEditProfileChangePassword(translate: {}) -> str:
"""Change password section of edit profile screen
"""
- editProfileForm = ' ' + \
- translate['Change Password'] + '
\n'
- editProfileForm += ' ' + \
+ translate['Change Password'] + '
\n' + \
+ '
\n'
- editProfileForm += '
\n'
- editProfileForm += \
+ '
\n' + \
+ '
\n' + \
'
\n'
- editProfileForm += \
- ' \n'
- editProfileForm += '
\n' + \
+ ' \n' + \
+ ' ' + \
- translate['Background Images'] + '
\n'
- editProfileForm += ' ' + \
+ translate['Background Images'] + '
\n' + \
+ '
\n'
if not newsInstance:
imageFormats = getImageFormats()
editProfileForm += \
' \n'
- editProfileForm += ' \n'
+ translate['Background image'] + '\n' + \
+ ' \n'
- editProfileForm += '
\n'
- editProfileForm += ' \n'
+ editProfileForm += \
+ '
\n' + \
+ ' \n'
- editProfileForm += '
\n'
- editProfileForm += ' \n'
+ editProfileForm += \
+ '
\n' + \
+ ' \n'
- editProfileForm += '
\n'
- editProfileForm += ' \n'
+ editProfileForm += \
+ '
\n' + \
+ ' \n'
- editProfileForm += '
\n'
- editProfileForm += ' \n'
+ editProfileForm += \
+ '
\n' + \
+ ' \n'
editProfileForm += '
\n'
editProfileForm += \
+ '
\n' + \
' \n'
- editProfileForm += '
\n'
editProfileForm += \
+ '
\n' + \
' \n'
- editProfileForm += '
\n'
editProfileForm += \
+ '
\n' + \
' \n'
- editProfileForm += '
\n'
editProfileForm += \
+ '
\n' + \
' \n'
- editProfileForm += '
\n'
editProfileForm += \
+ '
\n' + \
' \n'
editProfileForm += \
'
\n'
- editProfileForm += \
+ translate['PGP Fingerprint'] + '
\n' + \
' \n'
- editProfileForm += \
- '
\n'
- editProfileForm += \
+ PGPfingerprint + '">\n' + \
+ '
\n' + \
' \n'
- editProfileForm += '
\n'
- editProfileForm += '
\n' + \
+ ' \n'
return editProfileForm
@@ -1790,30 +1789,32 @@ def _htmlEditProfileMain(displayNickname: str, bioStr: str,
imageFormats = getImageFormats()
editProfileForm = '