diff zpt/project/pubman/add_publications.zpt @ 62:64be5db08495

more cleaning projects.
author casties
date Fri, 03 May 2013 10:16:47 +0200
parents a6ace48c2bf2
children
line wrap: on
line diff
--- a/zpt/project/pubman/add_publications.zpt	Thu May 02 18:32:01 2013 +0200
+++ b/zpt/project/pubman/add_publications.zpt	Fri May 03 10:16:47 2013 +0200
@@ -2,38 +2,35 @@
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html metal:use-macro="here/edit_template/macros/page">
 <body>
-<tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" />
-
-<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
-  <form action="" method="post">
-  <input type="hidden" name="method" value="search"/>
- 	<div> Author/Editor: <input type="text" size="30" name="author"/></div>
- 	<div> Title: <input type="text" size="30" name="title"/></div>
- 	<div> Somewhere in the metadata: <input type="text" size="30" name="any"/></div>
- 
-  <input type="submit" value="submit">
-
-  </form>
-
+  <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
 
-<div tal:condition="python:options.has_key('values')">
-<form action="" method="post">
-  <input type="hidden" name="method" value="add"/>
-
-<table>
-
+  <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
+    <form action="" method="post">
+      <input type="hidden" name="method" value="search" />
+      <div>
+        Author/Editor: <input type="text" size="30" name="author" />
+      </div>
+      <div>
+        Title: <input type="text" size="30" name="title" />
+      </div>
+      <div>
+        Somewhere in the metadata: <input type="text" size="30" name="any" />
+      </div>
+      <input type="submit" value="submit">
+    </form>
 
-<tr tal:repeat="entry python:options['values'].items()">
-<td><input type="checkbox" value="add" tal:attributes="name python:entry[0]"/></td>
-<td><tal:x tal:replace="structure python:entry[1]"/></td>
-</tr>
-
-</table>
-<input type="submit" value="submit"/>
-
-</form>
-
-</div>
-</tal:block>
+    <div tal:condition="python:options.has_key('values')">
+      <form action="" method="post">
+        <input type="hidden" name="method" value="add" />
+        <table>
+          <tr tal:repeat="entry python:options['values'].items()">
+            <td><input type="checkbox" value="add" tal:attributes="name python:entry[0]" /></td>
+            <td><tal:x tal:replace="structure python:entry[1]" /></td>
+          </tr>
+        </table>
+        <input type="submit" value="submit" />
+      </form>
+    </div>
+  </tal:block>
 </body>
 </html>