Ignore:
Timestamp:
15 Nov 2011, 07:21:29 (13 years ago)
Author:
Henrik Bettermann
Message:

Add passport picture uploader to student base data pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/imageupload.pt

    r7106 r7112  
    77  <td class="field">
    88    <span class="widget">
    9       <img tal:attributes="src viewlet/download_name" /><br />
     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 />
    1016      <input type="file" tal:attributes="name viewlet/input_name"/>
    11       <br />
     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" />
    1221      <span i18n:translate="">
    1322        Max. file size:
Note: See TracChangeset for help on using the changeset viewer.