start_registration_page

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "start_registration_page".
... in start_registration_page.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
<override_macro name="start_registration_page" requires="servlet">
    <n.if.is_submitted_form>
        <then.process_registration/>
    </n.if.is_submitted_form>
 
    <n.html>
        <head>
            <n.title.><t>Register to <t.app.root_node.subject/></t></n.title.>
            <n.registration_stylesheet/>
        </head>
        <body>
            <div class="center-content">
                <h1 class="weak-color"><t>Register to use the DCA Forum</t></h1>
                <t><b>Please create your username in this format: Firstname Lastname MembershipNumber, for example "Joan Doe 7123" </b></t>
                <p><t>Once you have registered, a Forum admin will check your name and membership number against the membership records and if everything is in order will approve you as a member of the DCA Forum. This process is only semi-automated and will not be immediate, especially if you have only joined the DCA recently. Please be patient!</t></p>
                <p><b>Non members please use a membership number of 0000, for example "John Smith 0000"</b></p>
                
                
 
                <n.handle_registration_errors/>
 
                <n.form.>
                    <n.nextUrl_field.hidden/>
                    <div style="text-align:left;margin:0 auto">
                        <n.registration_fields/>
                        <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>
</override_macro>
Overrides default 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.is_submitted_form>
        <then.process_registration/>
    </n.if.is_submitted_form>
 
    <n.html>
        <head>
            <n.title.><t>Register to <t.app.root_node.subject/></t></n.title.>
            <n.registration_stylesheet/>
        </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.subject/>
                </span>
 
                <n.handle_registration_errors/>
 
                <n.form.>
                    <n.nextUrl_field.hidden/>
                    <div style="text-align:left;margin:0 auto">
                        <n.registration_fields/>
                        <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>