Commit 5b3dbf8d authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Kirill Smelkov

[erp5_web_renderjs_ui] Fixup: Extend code to be possible recover password...

[erp5_web_renderjs_ui]  Fixup: Extend code to be possible recover password from WebSite using new ERP5 UI

The attribute was duplicated. Then password are displayed as clear text instead of using the "password"
specific font.
parent e2bd30d2
...@@ -68,11 +68,11 @@ ...@@ -68,11 +68,11 @@
<form class="login-form" method="post" tal:attributes="action python: context.absolute_url()">\n <form class="login-form" method="post" tal:attributes="action python: context.absolute_url()">\n
<div class="ui-field-contain">\n <div class="ui-field-contain">\n
<label data-i18n="New Password">New Password<span></span></label>\n <label data-i18n="New Password">New Password<span></span></label>\n
<div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset"><input autofocus type="text" name="password" type="password" placeholder="Ex: A1bcF$99" value="" required=""></div>\n <div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset"><input autofocus name="password" type="password" placeholder="Ex: A1bcF$99" value="" required=""></div>\n
</div>\n </div>\n
<div class="ui-field-contain">\n <div class="ui-field-contain">\n
<label data-i18n="Retype New Password">Retype New Password<span></span></label>\n <label data-i18n="Retype New Password">Retype New Password<span></span></label>\n
<div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset"><input type="text" name="password_confirm" type="password" placeholder="Ex: A1bcF$99" value="" required=""></div>\n <div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset"><input name="password_confirm" type="password" placeholder="Ex: A1bcF$99" value="" required=""></div>\n
</div>\n </div>\n
<div class="ui-btn ui-input-btn ui-btn-b ui-corner-all ui-shadow ui-btn-inline">Validate<input data-theme="b" data-inline="true" type="submit" data-i18n="[value]Validate" value="Validate" data-icon="check" tal:attributes="name python: \'%s:method\' % (form_action, )"/></div>\n <div class="ui-btn ui-input-btn ui-btn-b ui-corner-all ui-shadow ui-btn-inline">Validate<input data-theme="b" data-inline="true" type="submit" data-i18n="[value]Validate" value="Validate" data-icon="check" tal:attributes="name python: \'%s:method\' % (form_action, )"/></div>\n
<input type="hidden" name="came_from" tal:attributes="value python: context.absolute_url()" />\n <input type="hidden" name="came_from" tal:attributes="value python: context.absolute_url()" />\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment