Commit b13d1bf3 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: Use the expected context

parent 887d31cc
......@@ -33,7 +33,7 @@
<tal:block tal:define="preference_tool python: portal.portal_preferences"
tal:condition="python: preference_tool.isAuthenticationPolicyEnabled() and preference_tool.getPreferredPasswordPolicyReference()">
<label i18n:domain="ui" i18n:translate="">Password Policy</label>
<tal:block tal:replace="structure python: context.Preference_getPasswordPolicy()"></tal:block>
<tal:block tal:replace="structure python: preference_tool.Preference_getPasswordPolicy()"></tal:block>
</tal:block>
<form method="post" tal:attributes="action python: context.absolute_url()" class="field_container">
<section class="ui-content-header-plain">
......
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