From c5a1c3055f40f1cdb7c70426c8c29675361745c2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 20 2014 10:13:32 +0000 Subject: Update the text on the submit button as `Create` or `Edit` according to what the action is --- diff --git a/progit/templates/new_issue.html b/progit/templates/new_issue.html index 6d444b9..8fcb863 100644 --- a/progit/templates/new_issue.html +++ b/progit/templates/new_issue.html @@ -38,7 +38,11 @@ {{ render_field_in_row(form.content) }}

+ {% if not type or type == 'new' %} + {% elif type and type == 'edit' %} + + {% endif %} {{ form.csrf_token }}