mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 20:11:14 +00:00
Fixes error state for goal
This commit is contained in:
parent
589c128793
commit
c1c7b68fc1
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class Goal(View):
|
|||
form = forms.GoalForm(request.POST, instance=goal)
|
||||
if not form.is_valid():
|
||||
data = {
|
||||
'title': '%s\'s %d Reading' % (goal.user.display_name, year),
|
||||
'title': '%s\'s %d Reading' % (request.user.display_name, year),
|
||||
'goal_form': form,
|
||||
'goal': goal,
|
||||
'year': year,
|
||||
|
|
Loading…
Reference in a new issue