From b306a04de0785011bb9de5b0d419b1474f47a11a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 24 2015 10:59:50 +0000 Subject: Add preview on the new issue template Fixes http://209.132.184.222/progit/issue/61 --- diff --git a/progit/templates/new_issue.html b/progit/templates/new_issue.html index 8a39157..3f4cbf2 100644 --- a/progit/templates/new_issue.html +++ b/progit/templates/new_issue.html @@ -28,10 +28,27 @@ {{ render_field_in_row(form.title) }} - {{ render_field_in_row(form.issue_content) }} {{ render_field_in_row(form.status) }} {{ render_field_in_row(form.private) }}
+
+ +
+
+ +
+
+
+
+
+

+ (supports the Markdown syntax) +

+

{% if not type or type == 'new' %} @@ -45,3 +62,37 @@ {% endblock %} + +{% block jscripts %} +{{ super() }} + +{% endblock %}