source: main/waeup.imostate/src/waeup/imostate/applicants/browser_templates/applicanteditpage.pt @ 10355

Last change on this file since 10355 was 10355, checked in by Henrik Bettermann, 11 years ago

Applicants do not pay.

File size: 4.7 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data"
3      autocomplete="off">
4
5  <h2 i18n:domain="waeup.kofa">
6    ...
7    <span tal:replace="context/translated_state">APPLICATIONSTATE
8    </span>
9    <span tal:omit-tag=""
10      i18n:translate="" tal:condition="context/suspended">(account suspended)
11    </span>
12    ...
13  </h2>
14
15  <div>
16    <span  i18n:translate="">
17      <strong>Notice:</strong>
18      Download, fill, scan and re-upload the following forms:
19    </span>
20        <a href="https://imostate.waeup.org/downloads/ExtraApplicantInformationForm.pdf"
21        i18n:translate="">
22      Extra Applicant Information Form</a>,
23    <a href="https://imostate.waeup.org/downloads/RefereeForm.pdf"
24        i18n:translate="">
25      Referee's Form
26    </a><br /><br />
27  </div>
28
29  <div class="workflow">
30    <div tal:repeat="msg context/history/messages">
31      <span tal:replace="msg">MESSAGE</span><br />
32    </div>
33  </div>
34
35  <table class="form-table">
36    <tbody>
37      <tal:widgets content="structure provider:widgets" />
38        <tr>
39          <td class="separator" colspan="2">File Uploads</td>
40      </tr>
41      <tr>
42        <td class="fieldname" i18n:translate="">
43          Passport Photo:
44        </td>
45        <td>
46          <img src="passport.jpg" height="180px" /><br />
47          <input type="file" name="form.passport" />
48          <br />
49          <span i18n:translate="">
50            Max. file size:
51          </span>
52          <span tal:replace="view/max_upload_size">10 KB</span>
53      </tr>
54      <tr>
55        <td class="fieldname" i18n:translate="">
56          Extra Applicant Information Form:
57        </td>
58        <td>
59          <p tal:condition="python: view.file_exists('extraform.pdf')">
60            <a href="extraform.pdf"
61               i18n:translate="">
62              Download pdf file
63            </a>
64          </p>
65          <input type="file" name="form.extraform" />
66          <br />
67          <span i18n:translate="">
68            Max. file size:
69          </span>
70          <span tal:replace="view/max_file_upload_size">10 KB</span>
71      </tr>
72      <tr>
73        <td class="fieldname" i18n:translate="">
74          Referee's Form:
75        </td>
76        <td>
77          <p tal:condition="python: view.file_exists('refereeform.pdf')">
78            <a href="refereeform.pdf"
79               i18n:translate="">
80              Download pdf file
81            </a>
82          </p>
83          <input type="file" name="form.refereeform" />
84          <br />
85          <span i18n:translate="">
86            Max. file size:
87          </span>
88          <span tal:replace="view/max_file_upload_size">10 KB</span>
89      </tr>
90      <tr tal:condition="python: view.target.startswith('pg')">
91        <td class="fieldname" i18n:translate="">
92          Credentials:
93        </td>
94        <td>
95          <p tal:condition="python: view.file_exists('credentials.pdf')">
96            <a href="credentials.pdf"
97               i18n:translate="">
98              Download pdf file
99            </a>
100          </p>
101          <input type="file" name="form.credentials" />
102          <br />
103          <span i18n:translate="">
104            Max. file size:
105          </span>
106          <span tal:replace="view/max_file_upload_size">10 KB</span>
107      </tr>
108      <tr tal:condition="view/manage_applications">
109        <td class="fieldname" i18n:translate="">Password:</td>
110        <td>
111          <input name="password" type="password"  />
112        </td>
113      </tr>
114      <tr tal:condition="view/manage_applications">
115        <td class="fieldname" i18n:translate="">Retype Password:</td>
116        <td>
117          <input name="control_password" type="password" />
118        </td>
119      </tr>
120      <tr tal:condition="view/manage_applications">
121        <td class="fieldname" i18n:translate="">Application Transition:</td>
122        <td>
123          <select id="transition" name="transition">
124            <option tal:repeat="transition view/getTransitions"
125                    tal:attributes="value transition/name">
126              <span tal:replace="transition/title">TRANSITIONTITLE</span>
127            </option>
128          </select>
129        </td>
130      </tr>
131    </tbody>
132  </table>
133
134  <div tal:condition="not: view/manage_applications">
135    <input id="confirm_passport" name="confirm_passport"
136           type="checkbox" value="True"/>
137    <span i18n:translate="">
138    I confirm that the Passport Photograph uploaded on this form is a
139    true picture of me.
140    </span>
141  </div>
142  <br />
143
144  <div tal:condition="view/availableActions">
145    <span tal:repeat="action view/actions"
146          tal:omit-tag="">
147      <input tal:condition="python:action.label in view.display_actions[0]"
148             tal:replace="structure action/render"/>
149    </span>
150  </div>
151
152</form>
Note: See TracBrowser for help on using the repository browser.