summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/patch_comment_form.tt22
1 files changed, 1 insertions, 1 deletions
diff --git a/template/patch_comment_form.tt2 b/template/patch_comment_form.tt2
index 18fb56f..f3e3e52 100644
--- a/template/patch_comment_form.tt2
+++ b/template/patch_comment_form.tt2
@@ -20,6 +20,6 @@ provided.</p>
</div>
<div><input type='submit' value='Submit'>
-<input name='cancel' type='submit' value='Cancel'>
+[% IF !is_included %]<input name='cancel' type='submit' value='Cancel'>[% END %]
<input name='go' type='hidden' value='1'>
[% IF is_included %]<input name='id' type='hidden' value='[% d.id %]'>[% ELSIF id %]<input name='id' type='hidden' value='[% id %]'>[% ELSE %]<input name='patch' type='hidden' value='[% d.patch_id %]'>[% END %]</div>