Title on profile update page

This commit is contained in:
Alexandre Iooss 2020-02-21 11:17:14 +01:00
parent 2e7bf4964b
commit 43fd765a34
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
4 changed files with 31 additions and 29 deletions

View file

@ -60,6 +60,7 @@ class UserUpdateView(LoginRequiredMixin, UpdateView):
context['user'] = self.request.user
context["profile_form"] = self.second_form(
instance=context['user_modified'].profile)
context['title'] = _("Update Profile")
return context