Ignore:
Timestamp:
2 Apr 2014, 10:15:29 (11 years ago)
Author:
Henrik Bettermann
Message:

Revert order in file upload widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/fileupload.pt

    r11558 r11559  
    44  </td>
    55  <td>
     6
     7    <tal:file tal:condition="viewlet/file_exists">
     8      <a tal:attributes="href python: view.url(context, viewlet.download_name)"
     9         tal:content="viewlet/title"
     10         target="image">
     11        LINK
     12      </a>&nbsp;
     13      <input type="submit"
     14             tal:attributes="id python:('delete_%s' % viewlet.input_name);
     15                name python:('delete_%s' % viewlet.input_name);
     16                value viewlet/delete_button"
     17             class="btn btn-danger btn-xs" />
     18      <br /><br />
     19    </tal:file>
    620
    721                <div class="input-group">
     
    2337    </div>
    2438
    25     <tal:file tal:condition="viewlet/file_exists">
    26       <br />
    27       <input type="submit"
    28              tal:attributes="id python:('delete_%s' % viewlet.input_name);
    29                 name python:('delete_%s' % viewlet.input_name);
    30                 value viewlet/delete_button"
    31              class="btn btn-danger" />&nbsp;
    32       <a tal:attributes="href python: view.url(context, viewlet.download_name)"
    33          tal:content="viewlet/title"
    34          target="image">
    35         LINK
    36       </a>
    37     </tal:file>
    38 
    3939    <br />
    4040  </td>
Note: See TracChangeset for help on using the changeset viewer.