Last change
on this file since 7386 was
7112,
checked in by Henrik Bettermann, 13 years ago
|
Add passport picture uploader to student base data pages.
|
File size:
1014 bytes
|
Line | |
---|
1 | <tr> |
---|
2 | <td class="label"> |
---|
3 | <label i18n:translate="" tal:attributes="for viewlet/input_name"> |
---|
4 | <span tal:replace="viewlet/label">FILENAME</span> |
---|
5 | </label> |
---|
6 | </td> |
---|
7 | <td class="field"> |
---|
8 | <span class="widget"> |
---|
9 | <img align="middle" height="125px" |
---|
10 | tal:attributes="src viewlet/download_name" /> |
---|
11 | <input type="submit" tal:condition="viewlet/file_exists" |
---|
12 | tal:attributes="id python:('delete_%s' % viewlet.input_name); |
---|
13 | name python:('delete_%s' % viewlet.input_name)" |
---|
14 | value="Delete" class="button" /> |
---|
15 | <br /><br /> |
---|
16 | <input type="file" tal:attributes="name viewlet/input_name"/> |
---|
17 | <input type="submit" |
---|
18 | tal:attributes="id python:('upload_%s' % viewlet.input_name); |
---|
19 | name python:('upload_%s' % viewlet.input_name)" |
---|
20 | value="Upload" class="button" /> |
---|
21 | <span i18n:translate=""> |
---|
22 | Max. file size: |
---|
23 | <span tal:replace="viewlet/max_upload_size">10 KB</span> |
---|
24 | </span> |
---|
25 | </span> |
---|
26 | </td> |
---|
27 | </tr> |
---|
Note: See
TracBrowser for help on using the repository browser.