source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/imageupload.pt @ 7997

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

Clean-up css and labels.

File size: 941 bytes
Line 
1<tr i18n:domain="waeup.kofa">
2  <td class="fieldname">
3    <span tal:replace="viewlet/label">FILENAME</span>:
4  </td>
5  <td>
6    <img align="middle" height="125px"
7         tal:attributes="src viewlet/download_name" />
8    <input type="submit" tal:condition="viewlet/file_exists"
9     tal:attributes="id python:('delete_%s' % viewlet.input_name);
10        name python:('delete_%s' % viewlet.input_name)"
11     value="Delete" class="btn error" />
12    <br /><br />
13    <input type="file" tal:attributes="name viewlet/input_name"/>
14    <br /><br />
15    <input type="submit"
16             tal:attributes="id python:('upload_%s' % viewlet.input_name);
17                name python:('upload_%s' % viewlet.input_name);
18                value viewlet/upload_button"
19             value="Upload" class="btn primary" />
20    <span i18n:translate="">
21      Max. file size:
22    </span>
23    <span tal:replace="viewlet/max_upload_size">10 KB</span>
24  </td>
25</tr>
Note: See TracBrowser for help on using the repository browser.