Mercurial > p > roundup > code
diff share/roundup/templates/devel/html/page.html @ 7686:a27f30709d46
fix: duplicate password id generated for user.item.html
Fix the user_confirm_input macro at the end of html/page.html to
modify the id so it doesn't duplicate the one used for the regular
password.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 26 Oct 2023 13:17:52 -0400 |
| parents | d067b089b90b |
| children | 0e382e97f0e3 |
line wrap: on
line diff
--- a/share/roundup/templates/devel/html/page.html Thu Oct 26 11:28:54 2023 -0400 +++ b/share/roundup/templates/devel/html/page.html Thu Oct 26 13:17:52 2023 -0400 @@ -434,6 +434,6 @@ <input metal:define-macro="user_pw_input" type="password" tal:attributes="id name; name name; readonly not:edit_ok" value=""/> <input metal:define-macro="user_confirm_input" type="password" - tal:attributes="id name; name string:@confirm@$name; readonly not:edit_ok" value=""/> + tal:attributes="id string:confirm_$name; name string:@confirm@$name; readonly not:edit_ok" value=""/> <!-- SHA: ca32e5f43efcb7c3b4940df6f7a176f6990b15f0 -->
