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:
parent
e9a20e618f
commit
13d80df0a4
@ -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(),
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user