source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/imageupload.pt @ 7463

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

Merge Bootstrap branch into trunk.

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