From c2137d23c89202b12b52b961b9a8440ce624ee72 Mon Sep 17 00:00:00 2001 From: rahul Bajaj Date: Apr 04 2018 13:19:55 +0000 Subject: Add preview feature while editing comment. Fixes https://pagure.io/pagure/issue/1674 Fixes https://pagure.io/pagure/issue/1732 Fixes https://pagure.io/pagure/pull-request/1734 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/comment_update.html b/pagure/templates/comment_update.html index 6cb83fa..3ded1ac 100644 --- a/pagure/templates/comment_update.html +++ b/pagure/templates/comment_update.html @@ -9,16 +9,23 @@ onsubmit="return try_async_comment(this, null)" > -
+
+ + + Preview + +
+
+
+
-
{{ form.csrf_token }}
@@ -32,6 +39,43 @@