From bb49438cda15b45dee0aa3a39807b256b44d5eeb Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jun 01 2016 05:42:21 +0000 Subject: Fix initial comment not autofilling Previously, if you created a PR with one commit, the initial comment field would autofill with the body text of the commit message. The recent change to add the markdown preview to the initial comment on pull requests broke this feature, and this fixes the issue. --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index bfd8876..2aafb91 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -159,8 +159,7 @@ Preview - + {{ form.initial_comment(class_="form-control")|safe }}
{% if form.initial_comment.errors %}