summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-12 21:21:36 +0200
committerlpsolit%gmail.com <>2006-07-12 21:21:36 +0200
commit2362793369156ae7c9c63c50a07ac2c79a9df7fa (patch)
tree5bfcf1b1a5410c8691be31c81057bd06231c86b1 /template/en/default/attachment
parent38b4491409ab9e0bd8c020a0d87c8b273097139b (diff)
downloadbugzilla-2362793369156ae7c9c63c50a07ac2c79a9df7fa.tar.gz
bugzilla-2362793369156ae7c9c63c50a07ac2c79a9df7fa.tar.xz
Bug 317694: All buttons in forms must have an id - Patches by André Batosti <batosti@async.com.br> r=ghendricks a=myk
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/choose.html.tmpl6
-rw-r--r--template/en/default/attachment/confirm-delete.html.tmpl2
-rw-r--r--template/en/default/attachment/create.html.tmpl2
-rw-r--r--template/en/default/attachment/diff-header.html.tmpl2
-rw-r--r--template/en/default/attachment/edit.html.tmpl2
5 files changed, 7 insertions, 7 deletions
diff --git a/template/en/default/attachment/choose.html.tmpl b/template/en/default/attachment/choose.html.tmpl
index 2f7b86f19..306efea59 100644
--- a/template/en/default/attachment/choose.html.tmpl
+++ b/template/en/default/attachment/choose.html.tmpl
@@ -29,15 +29,15 @@
<form name="choose-id" method="get" action="attachment.cgi">
<p>Access an attachment by entering its ID into the form below:</p>
<p>Attachment ID: <input name="id" size="6">
- <button name="action" value="edit">&nbsp;Edit&nbsp;</button>
- <button name="action" value="view">View</button>
+ <button name="action" value="edit" id="edit">&nbsp;Edit&nbsp;</button>
+ <button name="action" value="view" id="view">View</button>
</p>
</form>
<form method="get" action="show_bug.cgi">
<p>Or, access it from the list of attachments in its associated [% terms.bug %] report:</p>
<p>[% terms.Bug %] ID: <input name="id" size="6">
- <input type="submit" name="action" value="View">
+ <input type="submit" name="action" value="View" id="action">
</p>
</form>
diff --git a/template/en/default/attachment/confirm-delete.html.tmpl b/template/en/default/attachment/confirm-delete.html.tmpl
index c79607ba2..ac8178ede 100644
--- a/template/en/default/attachment/confirm-delete.html.tmpl
+++ b/template/en/default/attachment/confirm-delete.html.tmpl
@@ -77,7 +77,7 @@
<label for="reason">Reason of the deletion:</label>
<input type="text" id="reason" name="reason" value="" size="80" maxlength="200">
<p>
- <input type="submit" value="Yes, delete">
+ <input type="submit" value="Yes, delete" id="delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="id" value="[% a.id FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 180fc5c49..043e1226a 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -104,7 +104,7 @@
[% END %]
<tr>
<th>&nbsp;</th>
- <td><input type="submit" value="Submit"></td>
+ <td><input type="submit" id="create" value="Submit"></td>
</tr>
</table>
diff --git a/template/en/default/attachment/diff-header.html.tmpl b/template/en/default/attachment/diff-header.html.tmpl
index 45bf202a9..3f2eed68d 100644
--- a/template/en/default/attachment/diff-header.html.tmpl
+++ b/template/en/default/attachment/diff-header.html.tmpl
@@ -257,7 +257,7 @@ tbody.file pre:empty {
[% END %]
</select>
and this patch
- <input type="submit" value="Diff">
+ <input type="submit" id="diff" value="Diff">
<input type="hidden" name="action" value="interdiff">
<input type="hidden" name="newid" value="[% attachid %]">
<input type="hidden" name="headers" value="[% headers FILTER html %]">
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index 6dfc8b099..51b941ca5 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -268,7 +268,7 @@
%]<br>
</div>
- <input type="submit" value="Submit"><br><br>
+ <input type="submit" value="Submit" id="update"><br><br>
<strong>Actions:</strong>
<a href="attachment.cgi?id=[% attachment.id %]">View</a>
[% IF attachment.ispatch && patchviewerinstalled %]