source: main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser_templates/applicanteditpage.pt @ 14395

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

Application Fee, not Acceptance Fee

File size: 6.1 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://futminna.waeup.org/downloads/ExtraApplicantInformationForm.pdf"
21        i18n:translate="">
22      Extra Applicant Information Form</a>,
23    <a href="https://futminna.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  <br /><br />
153  <h3 i18n:translate="">
154      Application Fee Payment Tickets
155  </h3>
156
157  <table>
158    <thead>
159    <tr>
160      <th>&nbsp;</th>
161      <th i18n:translate="">Payment Id</th>
162      <th i18n:translate="">Creation Date</th>
163      <th i18n:translate="">Payment Date</th>
164      <th i18n:translate="">Category</th>
165      <th i18n:translate="">Item</th>
166      <th i18n:translate="">State</th>
167    </tr>
168    </thead>
169    <tbody>
170      <tr tal:repeat="cl context/values">
171         <td>
172          <input type="checkbox"
173                 name="val_id"
174                 tal:attributes="value cl/__name__"
175         tal:condition="python: not view.unremovable(cl)" />
176        </td>
177        <td> <a tal:attributes="href cl/__name__">
178        <span tal:content="cl/p_id">PID</span></a></td>
179        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
180        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
181      <td tal:content ="cl/category">CATEGORY</td>
182      <td tal:content ="cl/display_item">ITEM</td>
183      <td tal:content ="cl/p_state_title">STATE</td>
184      </tr>
185    </tbody>
186  </table>
187
188  <div tal:condition="view/availableActions">
189    <span tal:repeat="action view/actions"
190          tal:omit-tag="">
191      <input tal:condition="python:action.label in view.display_actions[1]"
192             tal:replace="structure action/render"/>
193    </span>
194  </div>
195</form>
Note: See TracBrowser for help on using the repository browser.