registration_fields

NAML documentation   Watch a video
   Usages of this macro
... in registration_fields.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<override_macro name="registration_fields">
<h2><t>Guidelines:</t></h2>
<p><t>We are a community of people who enjoy the 1980 - 86 Ford trucks and want to help each other use, maintain, repair, and upgrade them. And towards that end we are:</t></p>
    
    <ul>
     <li><t>Family oriented: We want our children and grandchildren to be comfortable here so no provocative pictures nor obscenities are allowed.</t></li>
     <li><t>Constructive: No talking down nor "yelling" at others.</t></li>
     <li><t>Respectful: No politics nor religion are to be discussed as they are subjects that could easily divide us.</t></li>
     </ul>
 
<h2><t>Registration Process:</t></h2>  
 
<p><t>1. After filling out this form and clicking "Register Now" you will receive an email with a link to activate your account.</t></p>
  
<p><t>2. When you click the link to activate your account you will be given the opportunity to post an introduction about yourself and your truck.</t></p>
 
<p><t>3. Once you've posted an introduction an admin will approve your membership, after which you can post elsewhere on the forum.</t></p>  
 
<table class="field-table">
 
<tr>
     <td class="column1"><div class="second-font field-title"><t>User Name</t></div></td>
     <td>
        <n.user_name_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 type="text" size="35" maxlength="30"/>
        <n.user_name_field
Macro
Parameters: do
.highlight_if_empty
Macro
Requires: field
/>
     </td>
</tr>
<tr>
     <td class="column1"><div class="second-font field-title"><t>Email</t></div></td>
     <td>
        <n.email_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 type="text" size="35" maxlength="60"/>
        <n.email_field
Macro
Parameters: do
.highlight_if_empty
Macro
Requires: field
/>
     </td>
</tr>
<tr>
     <td class="column1"><div class="second-font field-title"><t>Password</t></div></td>
     <td>
        <n.password_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 type="password" size="15" maxlength="15"/>
        <n.password_field
Macro
Parameters: do
.highlight_if_empty
Macro
Requires: field
/>
     </td>
</tr>
<tr>
     <td class="column1"><div class="second-font field-title"><t>Confirm Password</t></div></td>
     <td>
        <n.password2_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 type="password" size="15" maxlength="15"/>
        <n.password2_field
Macro
Parameters: do
.highlight_if_empty
Macro
Requires: field
/>
     </td>
</tr>
<tr>
     <td class="column1" style="padding-top:.5em">
        <n.accept_terms_field
Macro
Parameters: do
.checkbox
Macro
Requires: field
Parameters: style
/>
     </td>
     <td style="padding-top:.5em">
        <label for="accept_terms"><t>I have read and agree to follow the Bullnose Enthusiast Forum's guidelines above.</t></label>
     </td>
</tr>
<tr>
     <td></td>
     <td style="padding-top:.5em">
        <n.captcha_control
Macro
/>
     </td>
</tr>
</table>
</override_macro>
Overrides default macro
... in register.naml
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<macro name="registration_fields">
    <table class="field-table">
        <tr>
            <td class="column1"><div class="second-font field-title"><t>User Name</t></div></td>
            <td>
                <n.user_name_field.input type="text" size="35" maxlength="30"/>
                <n.user_name_field.highlight_if_empty/>
            </td>
        </tr>
        <tr>
            <td class="column1"><div class="second-font field-title"><t>Email</t></div></td>
            <td>
                <n.email_field.input type="text" size="35" maxlength="60"/>
                <n.email_field.highlight_if_empty/>
            </td>
        </tr>
        <tr>
            <td></td>
            <td class="weak-color" style="margin-top:1em;font-size:80%;padding-bottom:1em">
                <t>You will receive an email with a link to activate your account.</t>
            </td>
        </tr>
        <tr>
            <td class="column1"><div class="second-font field-title"><t>Password</t></div></td>
            <td>
                <n.password_field.input type="password" size="15" maxlength="15"/>
                <n.password_field.highlight_if_empty/>
            </td>
        </tr>
        <tr>
            <td class="column1"><div class="second-font field-title"><t>Confirm Password</t></div></td>
            <td>
                <n.password2_field.input type="password" size="15" maxlength="15"/>
                <n.password2_field.highlight_if_empty/>
            </td>
        </tr>
        <tr>
            <td class="column1" style="padding-top:.5em">
                <n.accept_terms_field.checkbox/>
            </td>
            <td class="nowrap" style="padding-top:.5em">
                <label for="accept_terms"><t>I have read and I agree to Nabble's <n.terms_link.>Terms of Use</n.terms_link.>.</t></label>
            </td>
        </tr>
        <tr>
            <td></td>
            <td style="padding-top:.5em">
                <n.captcha_control/>
            </td>
        </tr>
    </table>
</macro>