diff --git a/handlers/handlerpageedit.cpp b/handlers/handlerpageedit.cpp index 8231bc1..492e36f 100644 --- a/handlers/handlerpageedit.cpp +++ b/handlers/handlerpageedit.cpp @@ -114,7 +114,7 @@ Response HandlerPageEdit::handleRequest(PageDao &pageDao, std::string pagename, templatePage.setVar("content", newContent); setPageVars(templatePage, pagename); templatePage.setVar("title", createPageTitle("Preview: " + pagename)); - + templatePage.setVar("comment", r.post("comment")); Response response; response.setBody(templatePage.render()); return response; diff --git a/template/quitesimple/page_creation b/template/quitesimple/page_creation index 35981f0..2c65da2 100644 --- a/template/quitesimple/page_creation +++ b/template/quitesimple/page_creation @@ -5,10 +5,10 @@
Comment:
-
+
-{qswiki:include:general_footer} \ No newline at end of file +{qswiki:include:general_footer} diff --git a/template/quitesimple/page_creation_preview b/template/quitesimple/page_creation_preview index f765d83..f45251d 100644 --- a/template/quitesimple/page_creation_preview +++ b/template/quitesimple/page_creation_preview @@ -8,10 +8,10 @@ This is a preview of your changes:

Comment:
-
+
-{qswiki:include:general_footer} \ No newline at end of file +{qswiki:include:general_footer}