view zpt/project/pubman/add_publications.zpt @ 272:66f86cb8f69b new_pro_struct

Merge with default 690d5dea34bdb7404561c30a2a8d000ffa36f4d2
author casties
date Tue, 30 Sep 2014 15:46:35 +0200
parents 64be5db08495
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "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:publications" />

  <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>

    <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>