diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2014-03-23 01:56:29 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-03-23 01:56:29 +0100 |
commit | 165689a71928008f2d12f9cd8228497594899c2f (patch) | |
tree | d3a3c23bc30959290b014a86c1c50c60c7a9073c /template/en/default/global | |
parent | d9cd47075697a363b94c575526937ad40c617a0b (diff) | |
download | bugs-165689a71928008f2d12f9cd8228497594899c2f.tar bugs-165689a71928008f2d12f9cd8228497594899c2f.tar.gz bugs-165689a71928008f2d12f9cd8228497594899c2f.tar.bz2 bugs-165689a71928008f2d12f9cd8228497594899c2f.tar.xz bugs-165689a71928008f2d12f9cd8228497594899c2f.zip |
Bug 962812: Use the "required" attribute where appropriate
r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/userselect.html.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl index 828c4bb58..e2210c6f2 100644 --- a/template/en/default/global/userselect.html.tmpl +++ b/template/en/default/global/userselect.html.tmpl @@ -20,6 +20,7 @@ # multiple: optional, do multiselect box, value is size (height) of box # custom_userlist: optional, specify a limited list of users to use # field_title: optional, extra information to display as a tooltip + # mandatory: optional; if true, the field cannot be empty. #%] [% IF Param("usemenuforusers") %] @@ -31,6 +32,7 @@ [% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %] [% IF multiple %] multiple="multiple" size="[% multiple FILTER html %]" [% END %] [% IF field_title %] title="[% field_title FILTER html %]" [% END %] + [% IF mandatory %] required [% END %] > [% IF emptyok %] <option value=""></option> @@ -83,6 +85,7 @@ [% IF field_title %] title="[% field_title FILTER html %]" [% END %] [% IF size %] size="[% size FILTER html %]" [% END %] [% IF id %] id="[% id FILTER html %]" [% END %] + [% IF mandatory %] required [% END %] > [% IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') && id %] <div id="[% id FILTER html %]_autocomplete_container"></div> |