diff zpt/showNewDBEntries.zpt @ 0:bca61e893fcc

first checkin of MPIWGWeb r2 branch from CVS into mercurial
author casties
date Thu, 10 Jan 2013 17:52:13 +0100
parents
children cc5198541af8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/showNewDBEntries.zpt	Thu Jan 10 17:52:13 2013 +0100
@@ -0,0 +1,25 @@
+<html tal:define="newEntries options/newEntries">
+<body>
+<h2>New entries</h2>
+<form action="createNewStaffObjects">
+<table border="1">
+  <tr>
+    <th>First name</th>
+    <th>Last name</th>
+    <th>Department</th>
+    <th>Stay from</th>
+    <th>e_mail (without @)</th>
+  <tr tal:repeat="newEntry newEntries">
+    <td tal:content="python:here.decode(newEntry.first_name)" />
+    <td tal:content="python:here.decode(newEntry.last_name)" />
+    <td tal:content="python:here.decode(newEntry.department)"/>
+    <td tal:content="python:here.decode(newEntry.date_from)"/>
+    <td><input tal:attributes="name python:here.urlQuote(newEntry.key)" size="20"/></td>
+  </tr>
+</table>
+<p>
+  <input type="submit" name="submit">
+</p>
+</form>
+</body>
+</html>