diff --git a/seahub/profile/templates/profile/set_profile.html b/seahub/profile/templates/profile/set_profile.html index a4c64badec..8e4e34a2f9 100644 --- a/seahub/profile/templates/profile/set_profile.html +++ b/seahub/profile/templates/profile/set_profile.html @@ -64,12 +64,7 @@
{% endif %} - {% if form.department and form.telephone %} - - {% for error in form.department.errors %} - {{ error|escape }} - {% endfor %} -
+ {% if form.telephone %} {% for error in form.telephone.errors %} {{ error|escape }} diff --git a/seahub/profile/templates/profile/user_profile.html b/seahub/profile/templates/profile/user_profile.html index 91ec088141..ae7e68adc9 100644 --- a/seahub/profile/templates/profile/user_profile.html +++ b/seahub/profile/templates/profile/user_profile.html @@ -11,12 +11,6 @@

{{ nickname }}