1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4 metal:use-macro="context/main_template/macros/master">
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
9 <metal:slot metal:fill-slot="main_no_tabs"
11 tal:define="form options/form">
12 <h1 i18n:translate="">Become a member</h1>
14 <p tal:condition="options/isOrdinaryMember" i18n:translate="">
15 You are already authenticated. You may use the
16 <a tal:attributes="href string:$portal_url/personalize_form"
17 i18n:name="personalize_form"
18 i18n:translate="">personalization form</a>
19 to change your personal informations.
22 <div tal:condition="python:options['isNewMember'] and options['isAnonRegistration']">
23 <p i18n:translate="">You have been registered as a member.</p>
24 <p tal:condition="options/validate_email" i18n:translate="">
25 You will receive an email shortly. Please follow sent instructions
26 to complete your registration.
28 <tal:case tal:condition="not: options/validate_email">
29 <p i18n:translate="">Click the button to log in immediately.</p>
30 <form tal:attributes="action form/action">
31 <input type="hidden" name="__ac_name" tal:attributes="value options/member_id"/>
32 <input type="hidden" name="__ac_password" tal:attributes="value options/password"/>
33 <input type="hidden" name="noAjax" value="1"/>
34 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
39 <div tal:condition="python:options['isNewMember'] and options['isReviewedRegistration']">
40 <p i18n:translate="">Your registration request has been taken into account.</p>
41 <p tal:condition="options/validate_email" i18n:translate="">
42 Your request will be reviewed soon by a portal administrator. You
43 will receive an email containing your password and instructions on
44 how to activate your membership when your registration will be
47 <p tal:condition="not:options/validate_email" i18n:translate="">
48 Your request will be reviewed soon by a portal administrator. You
49 will receive an email when your registration will be approved.
52 <a href="" tal:attributes="href options/portal_url" i18n:translate="">Return to homepage</a>
56 <div tal:condition="options/isAnon">
57 <form method="post" tal:attributes="action form/action">
61 <input type="text" name="given_name" size="30"
62 placeholder="First name" i18n:attributes="placeholder"
63 tal:attributes="value options/given_name|nothing"/>
66 <input type="text" name="name" size="30"
67 placeholder="Last name" i18n:attributes="placeholder"
68 tal:attributes="value options/name|nothing"/>
73 <input type="text" name="member_email"
74 placeholder="Email address" i18n:attributes="placeholder"
75 tal:attributes="value options/member_email|nothing"/>
77 <input type="checkbox" name="email_as_login" value="email_as_login"
78 tal:attributes="checked python:options.get('email_as_login', True)"/>
79 <span tal:omit-tag="" i18n:translate="">use as login</span>
85 <input type="text" name="member_id"
86 placeholder="login" i18n:attributes="placeholder"
87 tal:attributes="value options/member_id|nothing"/>
90 <tbody tal:condition="not: options/validate_email" tal:omit-tag="">
93 <input type="password" name="password"
94 placeholder="Password" i18n:attributes="placeholder"/>
99 <input type="password" name="confirm"
100 placeholder="Password (confirm)" i18n:attributes="placeholder"/>
106 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>