Commit 033ad1db authored by Jérome Perrin's avatar Jérome Perrin

web_renderjs_ui: Use action name on submit login page

For consistency with xhtml style and other ERP5JS dialogs
parent baadee07
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div><input autofocus type="text" name="user_login" value="" required=""></div> <div><input autofocus type="text" name="user_login" value="" required=""></div>
</div> </div>
<div class="dialog_button_container"> <div class="dialog_button_container">
<input type="submit" value="Validate" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/> <input type="submit" value="Recover your Account" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/>
</div> </div>
<input type="hidden" name="url" tal:attributes="value python: context.absolute_url()" /> <input type="hidden" name="url" tal:attributes="value python: context.absolute_url()" />
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div><input name="password_confirm" type="password" value="" required=""></div> <div><input name="password_confirm" type="password" value="" required=""></div>
</div> </div>
<div class="dialog_button_container"> <div class="dialog_button_container">
<input type="submit" value="Validate" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/> <input type="submit" value="Reset Password" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/>
</div> </div>
<input type="hidden" name="came_from" tal:attributes="value python: context.absolute_url()" /> <input type="hidden" name="came_from" tal:attributes="value python: context.absolute_url()" />
<input type="hidden" name="password_key" tal:attributes="value python: request.get('reset_key') or ''" /> <input type="hidden" name="password_key" tal:attributes="value python: request.get('reset_key') or ''" />
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div><input type="password" name="__ac_password" value="" required="" autocomplete="off" /></div> <div><input type="password" name="__ac_password" value="" required="" autocomplete="off" /></div>
</div> </div>
<div class="dialog_button_container"> <div class="dialog_button_container">
<input type="submit" value="Validate" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/> <input type="submit" value="Login" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/>
<a i18n:domain="ui" i18n:translate="" tal:attributes="href python: '%s/WebSite_viewRecoverAccount?came_from=%s' % (absolute_url, absolute_url)">I forgot my password!</a> <a i18n:domain="ui" i18n:translate="" tal:attributes="href python: '%s/WebSite_viewRecoverAccount?came_from=%s' % (absolute_url, absolute_url)">I forgot my password!</a>
</div> </div>
</div> </div>
......
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