summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/edit-common.html.tmpl
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/components/edit-common.html.tmpl
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/components/edit-common.html.tmpl')
-rw-r--r--template/en/default/admin/components/edit-common.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/admin/components/edit-common.html.tmpl b/template/en/default/admin/components/edit-common.html.tmpl
index 00b80baa8..72300af79 100644
--- a/template/en/default/admin/components/edit-common.html.tmpl
+++ b/template/en/default/admin/components/edit-common.html.tmpl
@@ -17,7 +17,7 @@
<tr>
<th><label for="component">Component:</label></th>
<td><input size="64" maxlength="64" name="component" id="component"
- value="[%- comp.name FILTER html %]"></td>
+ value="[%- comp.name FILTER html %]" required></td>
</tr>
<tr>
<th><label for="[% desc_name FILTER html %]">Component Description:</label></th>
@@ -29,6 +29,7 @@
cols = 64
wrap = 'virtual'
defaultcontent = comp.description
+ mandatory = 1
%]
</td>
</tr>
@@ -40,6 +41,7 @@
id => "initialowner"
value => comp.default_assignee.login
size => 64
+ mandatory => 1
%]
</td>
</tr>