... | in process_registration.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<override_macro name="process_registration">
<n.catch_exception Binary Namespace: BasicNamespace
Parameters:
id, do
♦ ♦
<n.validate_registration_form Macro ♦ ♦
<n.registration Binary Namespace: ServletNamespace
Parameters:
password, user_name, next_url, do, email
♦ ♦
<user_name><n.user_name_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<password><n.password_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<next_url><n.nextUrl_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<do>
<n.send_registration_email Macro Parameters:
next_url, email, key
♦ ♦
next_url="[n.nextUrl_field.value/]"
key="[n.key Binary Namespace: RegistrationNamespace
♦ ♦
/>
</do>
</n.registration>
</n.catch_exception.>
</override_macro>
|
... | in register.naml |
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
<macro name="process_registration">
<n.catch_exception. id="save-block">
<n.validate_registration_form/>
<n.check_captcha/>
<n.registration>
<user_name><n.user_name_field.value/></user_name>
<email><n.email_field.value/></email>
<password><n.password_field.value/></password>
<next_url><n.nextUrl_field.value/></next_url>
<do>
<n.send_registration_email
email="[n.email_field.value/]"
next_url="[n.nextUrl_field.value/]"
key="[n.key/]"
/>
<n.redirect_to.registering_page_path/>
</do>
</n.registration>
</n.catch_exception.>
</macro>
|
Free forum by Nabble | Edit this page |