1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <h2> ... <span tal:replace="context/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 i18n:translate="" 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=""> |
---|
42 | Max. file size: |
---|
43 | <span tal:replace="view/max_upload_size">10 KB</span> |
---|
44 | </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 Payment Tickets</h3> |
---|
89 | |
---|
90 | <table> |
---|
91 | <thead> |
---|
92 | <tr> |
---|
93 | <th> </th> |
---|
94 | <th>Payment Id</th> |
---|
95 | <th>Creation Date</th> |
---|
96 | <th>Payment Date</th> |
---|
97 | <th>Category</th> |
---|
98 | <th>Item</th> |
---|
99 | <th>State</th> |
---|
100 | </tr> |
---|
101 | </thead> |
---|
102 | <tbody> |
---|
103 | <tr tal:repeat="cl context/values"> |
---|
104 | <td> |
---|
105 | <input type="checkbox" |
---|
106 | name="val_id" |
---|
107 | tal:attributes="value cl/__name__" |
---|
108 | tal:condition="python: not view.unremovable(cl)" /> |
---|
109 | </td> |
---|
110 | <td> <a tal:attributes="href cl/__name__"> |
---|
111 | <span tal:content="cl/p_id">PID</span></a></td> |
---|
112 | <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td> |
---|
113 | <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td> |
---|
114 | <td tal:content ="cl/category">CATEGORY</td> |
---|
115 | <td tal:content ="cl/p_item">ITEM</td> |
---|
116 | <td tal:content ="cl/state">STATE</td> |
---|
117 | </tr> |
---|
118 | </tbody> |
---|
119 | </table> |
---|
120 | |
---|
121 | <div tal:condition="view/availableActions"> |
---|
122 | <span tal:repeat="action view/actions" |
---|
123 | tal:omit-tag=""> |
---|
124 | <input tal:condition="python:action.label in view.display_actions[1]" |
---|
125 | tal:replace="structure action/render"/> |
---|
126 | </span> |
---|
127 | </div> |
---|
128 | </form> |
---|