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
<override_macro name="start_registration_page" requires="servlet">
  <n.html
Macro
Parameters: head, body
>
        <head>
            <n.title
Macro
Parameters: text
.><t>Subscribe 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><a href="https://lists.galaxyproject.org/listinfo/galaxy-announce">Subscribe</a> to <a href="https://lists.galaxyproject.org/listinfo/galaxy-announce">Galaxy-Announce Mailing List</a>.</t></h1>
            </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>