aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/edit.html.tmpl19
1 files changed, 11 insertions, 8 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index bb80fc1ad..97a2bd54f 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -1,4 +1,4 @@
-[%# The contents of this file are subject to the Mozilla Public
+[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
@@ -254,12 +254,7 @@
cols = constants.COMMENT_COLS
%]
<br>
- <div id="knob-buttons">
- <input type="submit" value="Commit" id="commit">
- [% IF bug.user.canmove %]
- <input type="submit" name="action" id="action" value="[% Param("move-button-text") %]">
- [% END %]
- </div>
+ [% PROCESS commit_button id=""%]
<table class="status" cellspacing="0" cellpadding="0">
<tr>
<td class="field_label">
@@ -303,7 +298,7 @@
[% BLOCK section_title %]
[%# That's the main table, which contains all editable fields. %]
<div class="bz_alias_short_desc_container">
-
+ [% PROCESS commit_button id="_top"%]
<a href="show_bug.cgi?id=[% bug.bug_id %]">
<b>[% terms.Bug %]&nbsp;[% bug.bug_id FILTER html %]</b></a> -
<span id="summary_alias_container" class="bz_default_hidden">
@@ -1164,3 +1159,11 @@
[% value = undef %]
[% spellcheck = undef %]
[% END %]
+[% BLOCK commit_button %]
+ <div class="knob-buttons">
+ <input type="submit" value="Commit" id="commit[% id FILTER css_class_quote %]">
+ [% IF bug.user.canmove %]
+ <input type="submit" name="action" id="action[% id FILTER css_class_quote %]" value="[% Param("move-button-text") %]">
+ [% END %]
+ </div>
+[% END %]