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

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

Add correct applicant object when using the ApplicantRegistrationPage?.

Harmonize workflow transition messages.

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