mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Provide a default label for the delete button on generic EditView
This commit is contained in:
parent
280c317c68
commit
560e430d0a
@ -134,6 +134,7 @@ class EditView(PermissionCheckedMixin, TemplateResponseMixin, BaseUpdateView):
|
||||
context_object_name = None
|
||||
template_name = 'wagtailadmin/generic/edit.html'
|
||||
permission_required = 'change'
|
||||
delete_item_label = ugettext_lazy("Delete")
|
||||
success_message = None
|
||||
error_message = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user