Line | |
---|
1 | <tr i18n:domain="waeup.kofa"> |
---|
2 | <td class="fieldname"> |
---|
3 | <span tal:replace="viewlet/label">FILENAME</span>: |
---|
4 | </td> |
---|
5 | <td> |
---|
6 | <tal:file tal:condition="viewlet/file_exists"> |
---|
7 | <a tal:attributes="href viewlet/download_name" |
---|
8 | tal:content="viewlet/title" |
---|
9 | target="image"> |
---|
10 | LINK |
---|
11 | </a> |
---|
12 | </tal:file> |
---|
13 | <br /> |
---|
14 | <input type="file" tal:attributes="name viewlet/input_name"/> |
---|
15 | <br /><br /> |
---|
16 | <input type="submit" tal:condition="viewlet/file_exists" |
---|
17 | tal:attributes="id python:('delete_%s' % viewlet.input_name); |
---|
18 | name python:('delete_%s' % viewlet.input_name); |
---|
19 | value viewlet/delete_button" |
---|
20 | class="btn error" /> |
---|
21 | <input type="submit" |
---|
22 | tal:attributes="id python:('upload_%s' % viewlet.input_name); |
---|
23 | name python:('upload_%s' % viewlet.input_name); |
---|
24 | value viewlet/upload_button" |
---|
25 | class="btn primary" /> |
---|
26 | <span i18n:translate=""> |
---|
27 | Max. file size: |
---|
28 | </span> |
---|
29 | <span tal:replace="viewlet/max_upload_size">10 KB</span> |
---|
30 | <br /> |
---|
31 | </td> |
---|
32 | </tr> |
---|
Note: See
TracBrowser for help on using the repository browser.