diff --git a/progit/templates/new_issue.html b/progit/templates/new_issue.html index dc99a30..2ab67b3 100644 --- a/progit/templates/new_issue.html +++ b/progit/templates/new_issue.html @@ -7,10 +7,20 @@ {% block repo %} +{% if not type or type == 'new' %}

New issue

+{% elif type and type == 'edit' %} +

Edit issue #{{ issue.id }}

+{% endif %} +
+ {% if not type or type == 'new' %}
+ {% elif type and type == 'edit' %} + + {% endif %} + {{ render_field_in_row(form.title) }} {{ render_field_in_row(form.content) }}