view zpt/staff/edit_publications.zpt @ 159:ee79f6ba8d01

clean up staff editing and some zpt forms.
author casties
date Thu, 06 Jun 2013 15:34:20 +0200
parents 225179dfd892
children 485bf377913a
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/mainEditFile/macros/page">
<body>
  <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
  <tal:block metal:fill-slot="body">


    <h2>Selection mode</h2>
    <form method="post" action="">
     <input type="radio" name="selectionMode" value="year" tal:attributes="checked python:here.content.publications_mode=='year'" />
      Show the five most recent publications. (no further action needed)
      <input type="radio" name="selectionMode" value="priority"
        tal:attributes="checked python:here.content.publications_mode=='priority'" />Show selected publications.
      <input type="submit" name="submit" />
    </form>

    <ul tal:condition="python:here.content.publications_mode=='priority'">
      <li><a href="addPublicationsFromPubman">Add an Entry</a></li>
      <li><a href="changePublications">Delete entries from the list or Change the priorities</a></li>

    </ul>

  </tal:block>
</body>
</html>