Mercurial > dandelion
changeset 457:7b399b476404
make the upload editor match the template
| author | Radomir Dopieralski <moindev@sheep.art.pl> |
|---|---|
| date | Sun, 03 Aug 2008 18:28:29 +0200 |
| parents | b63630dc39b8 |
| children | 4aecf205e6f9 |
| files | dandelion/upload.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dandelion/upload.py Sun Aug 03 18:27:20 2008 +0200 +++ b/dandelion/upload.py Sun Aug 03 18:28:29 2008 +0200 @@ -20,7 +20,7 @@ def upload_editor(wiki, page, author=u"", preview=u""): stream = wiki.template("upload.html", page) - return wiki.template("page.html", page, title=u"Upload %s" % page.title, content=stream) + return wiki.template("page.html", page, title=u"Upload %s" % page.title, content=stream, author=author, preview=None) def save(wiki, request, page, author): comment = request.form.get("comment", "")
