diff --git a/pagure/forms.py b/pagure/forms.py index 2bbfe62..c0a1f25 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -92,6 +92,8 @@ class RequestPullForm(wtf.Form): 'Title*', [wtforms.validators.Required()] ) + initial_comment = wtforms.TextAreaField( + 'Initial Comment', [wtforms.validators.Optional()]) class RemoteRequestPullForm(RequestPullForm): diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 4a31c60..8757a28 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -149,6 +149,7 @@ {% endif %} {{ render_bootstrap_field(form.title) }} + {{ render_bootstrap_field(form.initial_comment)}}