login_page

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 login.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<macro name="login_page" requires="servlet">
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="error"><n.false
Binary
Namespace: BasicNamespace
/></n.set_var.>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_submitted_form
Macro
Requires: servlet
>
        <then>
            <n.do_login
Binary
Namespace: ServletNamespace
Parameters: password, nextUrl, email
>
                <email><n.email_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></email>
                <password><n.password_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></password>
                <nextUrl><n.nextUrl_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></nextUrl>
            </n.do_login>
            <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="error"><n.true
Binary
Namespace: BasicNamespace
/></n.set_var.>
        </then>
    </n.if.is_submitted_form>
    <n.html
Macro
Parameters: head, body
>
        <head>
            <meta name="robots" content="noindex,nofollow"/>
            <n.title
Macro
Parameters: text
.><t>Login</t></n.title.>
            <n.email_field
Macro
Parameters: do
.focus
Macro
Requires: field
/>
            <script type="text/javascript">
                var loginNextUrl = '<n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="/"><n.nextUrl_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></n.default.>';
            </script>
        </head>
        <body>
            <h1 class="weak-color"><t>Login</t></h1>
 
            <n.login_message
Macro
/>
 
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="error">
                <then.format_error
Macro
Parameters: message, prompt
                    message="[t]Incorrect Login![/t]"
                    prompt="[t]Please re-enter your email/password and click Login.[/t]"
                />
            </n.if.var>
 
            <n.login_form
Macro
/>
            <n.register_now_section
Macro
/>
        </body>
    </n.html>
</macro>