0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Add back page_locked template context variable

This is used by edit.html to lock the fields
This commit is contained in:
Karl Hobley 2019-11-27 14:52:57 +00:00
parent e9a20e618f
commit 13d80df0a4

View File

@ -562,6 +562,7 @@ def edit(request, page_id):
'form': form,
'next': next_url,
'has_unsaved_changes': has_unsaved_changes,
'page_locked': page_perms.page_locked(),
})