handle_registration_errors

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
no macro found to override
  in (custom_tweak:adbayes_script:1) - <override_macro name="adbayes_script" parameters="params" requires="ad, servlet">
   Usages of this macro
... 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
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_submitted_form
Macro
Requires: servlet
>
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_exception
Binary
Namespace: BasicNamespace
Parameters: for
 for="save-block">
                <then>
                    <n.handle_exception
Binary
Namespace: NabbleNamespace
Parameters: for, do
. for="save-block">
                        <div class="error-message important" style="margin:1em;padding:.5em 0">
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="user_already_registered">
                                <t>You have already been registered.</t>
                                <a href="[n.forgot_password_path
Macro
/]"><t>Forgot your password?</t></a>
                            </n.exception.>
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="invalid_recaptcha">
                                <t>Please verify that you are not a robot.</t>
                            </n.exception.>
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="empty_registration_field">
                                <t>You must fill in all fields below.</t>
                            </n.exception.>
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="must_accept_terms_of_use">
                                <t>You must agree to the Terms of Use.</t>
                            </n.exception.>
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="invalid_email">
                                <t>Enter a valid email address.</t>
                            </n.exception.>
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="passwords_dont_match">
                                <t>The password fields don't match.</t>
                            </n.exception.>
                            <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. 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>