@@ -471,6 +471,7 @@ class EditDocumentModalForm(NewDocumentModalForm):
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.document = kwargs.pop("document", None)
|
||||
super().__init__(*args, **kwargs)
|
||||
self.form_title = _("Edit document")
|
||||
form_data = {
|
||||
"title": self.document.title,
|
||||
"comment": self.document.comment,
|
||||
|
||||
Reference in New Issue
Block a user