The Password Requirements list that appears on the user/*/edit page displays an unordered list. This list renders with class="first" on each li. See the example below.
<div id="account-pass-restrictions">
<div class="item-list">
<h3>Password Requirements</h3>
<ul>
<li class="first">Password must contain at least one uppercase character.</li>
<li class="first">Password must contain at least one lowercase character.</li>
<li class="first">Password must not contain the username.</li>
<li class="first">Password must contain at least one digit.</li>
<li class="first">Password must be at least 8 characters in length.</li>
<li class="first">Password must not match last 3 passwords.</li>
</ul>
</div>
</div>| Comment | File | Size | Author |
|---|---|---|---|
| #1 | password_policy-item_list_first_class-1699362-1.patch | 933 bytes | erikwebb |
Comments
Comment #1
erikwebb commentedSilly mistake. Appears the item_list theme function doesn't work well with non-numeric keys.
Comment #2
erikwebb commentedhttp://drupalcode.org/project/password_policy.git/commit/db339e3