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