diff options
author | Robert Haas | 2009-07-04 03:05:11 +0000 |
---|---|---|
committer | Robert Haas | 2009-07-04 03:05:11 +0000 |
commit | 061410acbc85857bb24e1fd7a5b0096eb96a43ca (patch) | |
tree | 89ca7d680f432a2e198ab433487952db5ddfa369 | |
parent | 79cc52bfb6d11862080b1d03e674e39355289ec2 (diff) |
Bug fix: Don't display non-functional cancel button.
-rw-r--r-- | template/patch_comment_form.tt2 | 2 |
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> |