... | in register.naml |
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
<macro name="handle_registration_errors">
<n.if.is_submitted_form>
<then>
<n.if.has_exception for="save-block">
<then>
<n.handle_exception. for="save-block">
<div class="error-message important" style="margin:1em;padding:.5em 0">
<n.exception. name="user_already_registered">
<t>You have already been registered.</t>
<a href="[n.forgot_password_path/]"><t>Forgot your password?</t></a>
</n.exception.>
<n.exception. name="invalid_recaptcha">
<t>Please verify that you are not a robot.</t>
</n.exception.>
<n.exception. name="empty_registration_field">
<t>You must fill in all fields below.</t>
</n.exception.>
<n.exception. name="must_accept_terms_of_use">
<t>You must agree to the Terms of Use.</t>
</n.exception.>
<n.exception. name="invalid_email">
<t>Enter a valid email address.</t>
</n.exception.>
<n.exception. name="passwords_dont_match">
<t>The password fields don't match.</t>
</n.exception.>
<n.exception. name="user_name_already_in_use">
<t>This user name is already in use.</t>
</n.exception.>
</div>
</n.handle_exception.>
</then>
</n.if.has_exception>
</then>
</n.if.is_submitted_form>
</macro>
|
Free forum by Nabble | Edit this page |