source: main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicanteditpage.pt @ 8486

Last change on this file since 8486 was 8486, checked in by Henrik Bettermann, 12 years ago

'Portal Roles' and 'Retype Password'

File size: 3.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>
6  ... <span tal:replace="context/translated_state">APPLICATIONSTATE</span> ...
7  </h2>
8
9  <div class="workflow">
10    <div tal:repeat="msg context/history/messages">
11      <span tal:replace="msg">MESSAGE</span><br />
12    </div>
13  </div>
14
15  <table class="form-table">
16    <tbody>
17      <tal:widgets content="structure provider:widgets" />
18      <tr>
19        <td class="fieldname" i18n:translate="">
20          Passport Photo:
21        </td>
22        <td>
23          <img src="passport.jpg" height="180px" /><br />
24          <input type="file" name="form.passport" />
25          <br />
26          <span i18n:translate="">
27            Max. file size:
28          </span>
29          <span tal:replace="view/max_upload_size">10 KB</span>
30      </tr>
31      <tr tal:condition="view/manage_applications">
32        <td class="fieldname" i18n:translate="">Password:</td>
33        <td>
34          <input name="password" type="password"  />
35        </td>
36      </tr>
37      <tr tal:condition="view/manage_applications">
38        <td class="fieldname" i18n:translate="">Retype Password:</td>
39        <td>
40          <input name="control_password" type="password" />
41        </td>
42      </tr>
43      <tr tal:condition="view/manage_applications">
44        <td class="fieldname" i18n:translate="">Application Transition:</td>
45        <td>
46          <select id="transition" name="transition">
47            <option tal:repeat="transition view/getTransitions"
48                    tal:attributes="value transition/name">
49              <span tal:replace="transition/title">TRANSITIONTITLE</span>
50            </option>
51          </select>
52        </td>
53      </tr>
54    </tbody>
55  </table>
56
57  <div tal:condition="not: view/manage_applications">
58    <input id="confirm_passport" name="confirm_passport"
59           type="checkbox" value="True"/>
60    <span i18n:translate="">
61    I confirm that the Passport Photograph uploaded on this form is a
62    true picture of me.
63    </span>
64  </div>
65  <br />
66
67  <div tal:condition="view/availableActions">
68    <span tal:repeat="action view/actions"
69          tal:omit-tag="">
70      <input tal:condition="python:action.label in view.display_actions[0]"
71             tal:replace="structure action/render"/>
72    </span>
73  </div>
74
75  <br /><br />
76  <h3 i18n:translate="">
77      Acceptance Fee Payment Tickets
78  </h3>
79
80  <table>
81    <thead>
82    <tr>
83      <th>&nbsp;</th>
84      <th i18n:translate="">Payment Id</th>
85      <th i18n:translate="">Creation Date</th>
86      <th i18n:translate="">Payment Date</th>
87      <th i18n:translate="">Category</th>
88      <th i18n:translate="">Item</th>
89      <th i18n:translate="">State</th>
90    </tr>
91    </thead>
92    <tbody>
93      <tr tal:repeat="cl context/values">
94         <td>
95          <input type="checkbox"
96                 name="val_id"
97                 tal:attributes="value cl/__name__"
98         tal:condition="python: not view.unremovable(cl)" />
99        </td>
100        <td> <a tal:attributes="href cl/__name__">
101        <span tal:content="cl/p_id">PID</span></a></td>
102        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
103        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
104      <td tal:content ="cl/category">CATEGORY</td>
105      <td tal:content ="cl/p_item">ITEM</td>
106      <td tal:content ="cl/state">STATE</td>
107      </tr>
108    </tbody>
109  </table>
110
111  <div tal:condition="view/availableActions">
112    <span tal:repeat="action view/actions"
113          tal:omit-tag="">
114      <input tal:condition="python:action.label in view.display_actions[1]"
115             tal:replace="structure action/render"/>
116    </span>
117  </div>
118</form>
Note: See TracBrowser for help on using the repository browser.