diff --git a/webapp_profile.py b/webapp_profile.py index 95b8329ff..82571a676 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1255,34 +1255,35 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, ' \n' - editProfileForm += \ - '
\n' - editProfileForm += ' \n' + if not newsInstance: + editProfileForm += \ + '
\n' + editProfileForm += ' \n' - editProfileForm += '
\n' - editProfileForm += ' \n' + editProfileForm += '
\n' + editProfileForm += ' \n' - editProfileForm += '
\n' - editProfileForm += ' \n' + editProfileForm += '
\n' + editProfileForm += ' \n' - editProfileForm += '
\n' - editProfileForm += ' \n' + editProfileForm += '
\n' + editProfileForm += ' \n' - editProfileForm += '
\n' - editProfileForm += ' \n' + editProfileForm += '
\n' + editProfileForm += ' \n' editProfileForm += ' \n' editProfileForm += '
\n'