start_registration_page

NAML documentation   Watch a video
   Usages of this macro
... in register.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
<macro name="start_registration_page" requires="servlet">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_submitted_form
Macro
Requires: servlet
>
        <then.process_registration
Macro
/>
    </n.if.is_submitted_form>
 
    <n.html
Macro
Parameters: head, body
>
        <head>
            <n.title
Macro
Parameters: text
.><t>Register to <t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/></t></n.title.>
            <n.registration_stylesheet
Macro
/>
        </head>
        <body>
            <div class="center-content">
                <h1 class="weak-color"><t>Register</t></h1>
                <span class="second-font shaded-bg-color rounded big-title" style="padding:.2em .7em">
                    <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>
                </span>
 
                <n.handle_registration_errors
Macro
/>
 
                <n.form
Macro
Requires: servlet
Parameters: macro, method, onsubmit, content
.>
                    <n.nextUrl_field
Macro
Parameters: do
.hidden
Macro
Requires: field
/>
                    <div style="text-align:left;margin:0 auto">
                        <n.registration_fields
Macro
/>
                        <div class="weak-color" style="margin-top:1em;text-align:center;">
                            <input type="submit" class="toolbar action-button" value="[t]Register Now[/t]"/>
                        </div>
                    </div>
                </n.form.>
            </div>
        </body>
    </n.html>
</macro>