mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue