<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<h3>
    <f:translate key="change_password_header"/>
</h3>
<p>
    <f:translate key="change_password_message" arguments="{0: settings.newPasswordMinLength}"/>
</p>

<f:render partial="ValidationErrors"/>

<f:form action="changePassword" method="post">
    <legend>
        <f:translate key="change_password"/>
    </legend>
    <div>
        <label>
            <f:translate key="newpassword_label1"/>
            <f:form.password name="newPass" autocomplete="new-password"/>
        </label>
    </div>
    <div>
        <label>
            <f:translate key="newpassword_label2"/>
            <f:form.password name="newPassRepeat" autocomplete="new-password"/>
        </label>
    </div>
    <f:form.hidden name="hash" value="{hash}"/>
    <f:form.submit value="{f:translate(key: 'change_password')}"/>
</f:form>

<p>
    <f:link.action action="login" controller="Login">
        <f:translate key="forgot_header_backToLogin"/>
    </f:link.action>
</p>
</html>
