summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/products
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2014-03-23 01:56:29 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-03-23 01:56:29 +0100
commit165689a71928008f2d12f9cd8228497594899c2f (patch)
treed3a3c23bc30959290b014a86c1c50c60c7a9073c /template/en/default/admin/products
parentd9cd47075697a363b94c575526937ad40c617a0b (diff)
downloadbugzilla-165689a71928008f2d12f9cd8228497594899c2f.tar.gz
bugzilla-165689a71928008f2d12f9cd8228497594899c2f.tar.xz
Bug 962812: Use the "required" attribute where appropriate
r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/products')
-rw-r--r--template/en/default/admin/products/create.html.tmpl2
-rw-r--r--template/en/default/admin/products/edit-common.html.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl
index da63a2ff5..b34f67b62 100644
--- a/template/en/default/admin/products/create.html.tmpl
+++ b/template/en/default/admin/products/create.html.tmpl
@@ -37,7 +37,7 @@
<tr>
<th>Version:</th>
<td><input size="20" maxlength="64" name="version"
- value="[% version FILTER html %]">
+ value="[% version FILTER html %]" required>
</td>
</tr>
<tr>
diff --git a/template/en/default/admin/products/edit-common.html.tmpl b/template/en/default/admin/products/edit-common.html.tmpl
index 6faa07469..baf5015ae 100644
--- a/template/en/default/admin/products/edit-common.html.tmpl
+++ b/template/en/default/admin/products/edit-common.html.tmpl
@@ -22,12 +22,12 @@
<tr>
<th>Product:</th>
<td><input size="64" maxlength="64" name="product"
- value="[% product.name FILTER html %]">
+ value="[% product.name FILTER html %]" required>
</td>
</tr>
<tr>
<th>Description:</th>
- <td><textarea rows="4" cols="64" wrap="virtual" name="description">
+ <td><textarea rows="4" cols="64" wrap="virtual" name="description" required>
[% product.description FILTER html %]</textarea>
</td>
</tr>