summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/fieldvalues
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/fieldvalues
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/fieldvalues')
-rw-r--r--template/en/default/admin/fieldvalues/create.html.tmpl2
-rw-r--r--template/en/default/admin/fieldvalues/edit.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/admin/fieldvalues/create.html.tmpl b/template/en/default/admin/fieldvalues/create.html.tmpl
index 4d07d5b0e..8d1dbc8b9 100644
--- a/template/en/default/admin/fieldvalues/create.html.tmpl
+++ b/template/en/default/admin/fieldvalues/create.html.tmpl
@@ -29,7 +29,7 @@
<th><label for="value">Value:</label></th>
<td>
<input id="value" name="value" size="30"
- maxlength="[% constants.MAX_FIELD_VALUE_SIZE FILTER none %]">
+ maxlength="[% constants.MAX_FIELD_VALUE_SIZE FILTER none %]" required>
</td>
</tr>
<tr>
diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl
index dbe222590..2630fee92 100644
--- a/template/en/default/admin/fieldvalues/edit.html.tmpl
+++ b/template/en/default/admin/fieldvalues/edit.html.tmpl
@@ -32,7 +32,7 @@
[% ELSE %]
<input id="value_new" name="value_new" size="20"
maxlength="[% constants.MAX_FIELD_VALUE_SIZE FILTER none %]"
- value="[% value.name FILTER html %]">
+ value="[% value.name FILTER html %]" required>
[% END %]
</td>
</tr>