- Timestamp:
- 14 Apr 2011, 08:31:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/removesubobjectspage.pt
r5917 r5942 3 3 </div> 4 4 <form method="POST" tal:condition="python: len(context.keys())"> 5 <div tal:condition="python: not len(context.keys())"> 6 There are no faculties registered yet. 7 </div> 8 5 9 <table> 6 <tr tal:repeat="val context/values" 7 tal:attributes="class python: repeat['val'].odd() and 'odd' or 'even'"> 8 <td> 9 <input type="checkbox" 10 name="val_id" 11 tal:attributes="value val/code" /> 12 </td> 13 <td> 14 <a href="." 15 tal:content="val/code" 16 tal:attributes="href python:view.url(val)"> 17 Subobject Code 18 </a> 19 </td> 20 <td> 21 <a href="." 22 tal:content="val/title" 23 tal:attributes="href python:view.url(val)"> 24 Subobject Name 25 </a> 26 </td> 27 </tr> 10 <thead> 11 <tr> 12 <th> </th> 13 <th>Code</th> 14 <th>Title</th> 15 </tr> 16 </thead> 17 <tbody> 18 <tr tal:repeat="value context/values" 19 tal:attributes="class python: repeat['value'].odd() and 'odd' or 'even'"> 20 <td> 21 <input type="checkbox" 22 name="val_id" 23 tal:attributes="value value/__name__" /> 24 </td> 25 <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td> 26 <td tal:content="value/title">Title</td> 27 </tr> 28 </tbody> 28 29 </table> 29 <input type="submit" name="REMOVE" value="Remove selected" />30 <input type="submit" name="REMOVE" value="Remove selected" onclick="return confirmPost('All sububjects will be removed too. Are you sure?')"/> 30 31 <input type="submit" name="CANCEL" value="Cancel" /> 31 32 </form>
Note: See TracChangeset for help on using the changeset viewer.