summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/groups
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/groups
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/groups')
-rw-r--r--template/en/default/admin/groups/create.html.tmpl4
-rw-r--r--template/en/default/admin/groups/edit.html.tmpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/admin/groups/create.html.tmpl b/template/en/default/admin/groups/create.html.tmpl
index 06396926c..8f9be1c7a 100644
--- a/template/en/default/admin/groups/create.html.tmpl
+++ b/template/en/default/admin/groups/create.html.tmpl
@@ -21,11 +21,11 @@
<table id="admin_table_edit">
<tr>
<th>Group Name:</th>
- <td><input size="60" maxlength="255" name="name"></td>
+ <td><input size="60" maxlength="255" name="name" required></td>
</tr>
<tr>
<th>Description:</th>
- <td><input size="60" name="desc"></td>
+ <td><input size="60" name="desc" required></td>
</tr>
<tr>
<th>User Regexp:</th>
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl
index c9883ce42..1cc948ea2 100644
--- a/template/en/default/admin/groups/edit.html.tmpl
+++ b/template/en/default/admin/groups/edit.html.tmpl
@@ -32,7 +32,7 @@
<td>
[% IF group.is_bug_group %]
<input type="text" name="name" size="60" maxlength="255"
- value="[% group.name FILTER html %]">
+ value="[% group.name FILTER html %]" required>
[% ELSE %]
[% group.name FILTER html %]
[% END %]
@@ -44,7 +44,7 @@
<td>
[% IF group.is_bug_group %]
<input type="text" name="desc" size="60"
- value="[% group.description FILTER html %]">
+ value="[% group.description FILTER html %]" required>
[% ELSE %]
[% group.description FILTER html %]
[% END %]