start_registration_page

NAML documentation   Watch a video
   Usages of this macro
... 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
37
38
39
40
41
42
43
44
45
<override_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>
 
<p><h3>Drako&apos;s Den Forums and Gallery</h3><br />
A fetish and kink friendly furry community where users/furries can explore and express their lifestyles.<br />
These forums and gallery contain Adult/NSFW content<br />
To register, you must agree, under penalty of purjury, that:
<ol>
    <li>You are over the age of 18 (21 some areas)</li>
    <li>It is legal for you to view/post adult content</li>
    <li>You agree to view and/or post adult content</li>
    <li>You agree to adhere to our <a href="https://dws.neocities.org/drako_den/community_rules.html">Community Rules</a> and <a href="https://dws.neocities.org/drako_den/aup.html">Acceptable Upload Policy</a> (Incuding <a href="https://dws.neocities.org/drako_den/2257.html">18 U.S.C. §2257</a>)</li>
 
</ol>
<a href="https://cutt.ly/drako" target="_top">Click here to return to Drako's Den</a></p>
 
                <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>
</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>