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

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

Make provision for uploading the referee's form. Rename form extension.

File size: 5.4 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="fieldname" i18n:translate="">
40          Passport Photo:
41        </td>
42        <td>
43          <img src="passport.jpg" height="180px" /><br />
44          <input type="file" name="form.passport" />
45          <br />
46          <span i18n:translate="">
47            Max. file size:
48          </span>
49          <span tal:replace="view/max_upload_size">10 KB</span>
50      </tr>
51      <tr>
52        <td class="fieldname" i18n:translate="">
53          Extra Applicant Information Form:
54        </td>
55        <td>
56          <p tal:condition="python: view.file_exists('extraform.pdf')">
57            <a href="extraform.pdf"
58               i18n:translate="">
59              Download pdf file
60            </a>
61          </p>
62          <input type="file" name="form.extraform" />
63          <br />
64          <span i18n:translate="">
65            Max. file size:
66          </span>
67          <span tal:replace="view/max_file_upload_size">10 KB</span>
68      </tr>
69      <tr>
70        <td class="fieldname" i18n:translate="">
71          Referee's Form:
72        </td>
73        <td>
74          <p tal:condition="python: view.file_exists('refereeform.pdf')">
75            <a href="refereeform.pdf"
76               i18n:translate="">
77              Download pdf file
78            </a>
79          </p>
80          <input type="file" name="form.refereeform" />
81          <br />
82          <span i18n:translate="">
83            Max. file size:
84          </span>
85          <span tal:replace="view/max_file_upload_size">10 KB</span>
86      </tr>
87      <tr tal:condition="view/manage_applications">
88        <td class="fieldname" i18n:translate="">Password:</td>
89        <td>
90          <input name="password" type="password"  />
91        </td>
92      </tr>
93      <tr tal:condition="view/manage_applications">
94        <td class="fieldname" i18n:translate="">Retype Password:</td>
95        <td>
96          <input name="control_password" type="password" />
97        </td>
98      </tr>
99      <tr tal:condition="view/manage_applications">
100        <td class="fieldname" i18n:translate="">Application Transition:</td>
101        <td>
102          <select id="transition" name="transition">
103            <option tal:repeat="transition view/getTransitions"
104                    tal:attributes="value transition/name">
105              <span tal:replace="transition/title">TRANSITIONTITLE</span>
106            </option>
107          </select>
108        </td>
109      </tr>
110    </tbody>
111  </table>
112
113  <div tal:condition="not: view/manage_applications">
114    <input id="confirm_passport" name="confirm_passport"
115           type="checkbox" value="True"/>
116    <span i18n:translate="">
117    I confirm that the Passport Photograph uploaded on this form is a
118    true picture of me.
119    </span>
120  </div>
121  <br />
122
123  <div tal:condition="view/availableActions">
124    <span tal:repeat="action view/actions"
125          tal:omit-tag="">
126      <input tal:condition="python:action.label in view.display_actions[0]"
127             tal:replace="structure action/render"/>
128    </span>
129  </div>
130
131  <br /><br />
132  <h3 i18n:translate="">
133      Acceptance Fee Payment Tickets
134  </h3>
135
136  <table>
137    <thead>
138    <tr>
139      <th>&nbsp;</th>
140      <th i18n:translate="">Payment Id</th>
141      <th i18n:translate="">Creation Date</th>
142      <th i18n:translate="">Payment Date</th>
143      <th i18n:translate="">Category</th>
144      <th i18n:translate="">Item</th>
145      <th i18n:translate="">State</th>
146    </tr>
147    </thead>
148    <tbody>
149      <tr tal:repeat="cl context/values">
150         <td>
151          <input type="checkbox"
152                 name="val_id"
153                 tal:attributes="value cl/__name__"
154         tal:condition="python: not view.unremovable(cl)" />
155        </td>
156        <td> <a tal:attributes="href cl/__name__">
157        <span tal:content="cl/p_id">PID</span></a></td>
158        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
159        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
160      <td tal:content ="cl/category">CATEGORY</td>
161      <td tal:content ="cl/display_item">ITEM</td>
162      <td tal:content ="cl/state">STATE</td>
163      </tr>
164    </tbody>
165  </table>
166
167  <div tal:condition="view/availableActions">
168    <span tal:repeat="action view/actions"
169          tal:omit-tag="">
170      <input tal:condition="python:action.label in view.display_actions[1]"
171             tal:replace="structure action/render"/>
172    </span>
173  </div>
174</form>
Note: See TracBrowser for help on using the repository browser.