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
35
36
<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>DCA Members can 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, Forum administrators will check your name and membership number against the membership records; if everything is ok they will approve you as a forum member. This process is manual and may take up to 24 hours. Please be patient. </t></p>
                
                <p><t>Find out more about dinghy cruising and becoming a member on our <a href="http://dinghycruising.org.uk"><b>DCA Website</b></a></t></p>
                
                <p><t>Non-members can freely access the <a href="https://www.facebook.com/groups/121855197842056/"><b>DCA Facebook page</b></a></t></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>