source: main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantregister.pt @ 11154

Last change on this file since 11154 was 8033, checked in by Henrik Bettermann, 13 years ago

Define two different application modes: create and update. The latter expects existing (imported) application records. The ApplicantRegistrationPage? renders different form fields and creates or updates application records depending on the selected mode.

The update registration mode is not yet secure enough. Further security features will be added.

File size: 1.1 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2    i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <table class="form-table">
5    <tbody>
6      <tal:widgets content="structure provider:widgets" />
7      <tr tal:condition="view/captcha_code">
8        <td i18n:translate="">
9          Please solve the captcha<br />to prevent misuse of this service:
10        </td>
11        <td>
12          <div tal:content="structure view/captcha_code"></div>
13        </td>
14      </tr>
15
16    </tbody>
17  </table>
18  <p i18n:translate="" tal:condition="python: context.mode=='create'">
19    An account will be created for you and an email with your login
20    credentials will be sent to the address provided.
21  </p>
22  <p i18n:translate="" tal:condition="python: context.mode=='update'">
23    Your application record will be looked up and an email with your login
24    credentials will be sent to the address provided.
25  </p>
26  <div tal:condition="view/availableActions">
27    <input tal:repeat="action view/actions"
28           tal:replace="structure action/render"
29           />
30  </div>
31</form>
Note: See TracBrowser for help on using the repository browser.