view zpt/edit_MPIWGDisciplinesThemesNeu.zpt @ 37:9b38ba45773b

?berarbeitung MPIWGStaff neue editfunktionen
author dwinter
date Fri, 26 Apr 2013 17:19:08 +0200
parents bca61e893fcc
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_MPIWGProject_main/macros/page">
<head>
</head>
<body>
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:themes" />
<tal:block metal:fill-slot="body">
  <h3>Disciplines</h3>
  <form method="post" action="editMPIWGDisciplinesThemes">
  <input type="hidden" name="fromEdit" value="yes" />
  <ul class="plain" tal:repeat="discipline here/getDisciplineList">
    <li tal:condition="python:here.isChecked(discipline,here.getContent('xdata_09'))">
      <input tal:attributes="value discipline" name="disciplines" type="checkbox" checked>
      <span tal:replace="discipline" />
    </li>
    <li tal:condition="not:python:here.isChecked(discipline,here.getContent('xdata_09'))">
      <input tal:attributes="value discipline" name="disciplines" type="checkbox">
      <span tal:replace="discipline" />
    </li>
  </ul>
  <br>
  <h3>Themes</h3>
  <ul class="plain" tal:repeat="theme here/getThemeList">
    <li tal:condition="python:here.isChecked(theme,here.getContent('xdata_10'))">
      <input tal:attributes="value theme" name="themes" type="checkbox" checked>
      <span tal:replace="theme" />
    </li>
    <li tal:condition="not:python:here.isChecked(theme,here.getContent('xdata_10'))">
      <input tal:attributes="value theme" name="themes" type="checkbox">
      <span tal:replace="theme" />
    </li>
  </ul>
  <p><input type="submit" value="change"/></p>
  </form>
</tal:block>
</body>
</html>