Mercurial > hg > MPIWGWeb
view zpt/edit_MPIWGDisciplinesThemes.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
<html> <body> <h2>Edit Disciplines and themes: <span tal:replace="python:here.WEB_title[0]"/></h2> <h3>Disciplines</h3> <form method="post" action="editMPIWGDisciplinesThemes"> <tal:block tal:replace="python:here.getContent('xdata_09')"/> <tal:block tal:repeat="discipline here/getDisciplineList"> <tal:block tal:condition="python:here.isChecked(discipline,here.getContent('xdata_09'))"> <input tal:attributes="value discipline" name="disciplines" type="checkbox" checked><span tal:replace="discipline"/> </tal:block> <tal:block tal:condition="not:python:here.isChecked(discipline,here.getContent('xdata_09'))"> <input tal:attributes="value discipline" name="disciplines" type="checkbox"><span tal:replace="discipline"/> </tal:block> </tal:block> <br> <h3>Themes</h3> <tal:block tal:repeat="theme here/getThemeList"> <tal:block tal:condition="python:here.isChecked(theme,here.getContent('xdata_10'))"> <input tal:attributes="value theme" name="themes" type="checkbox" checked><span tal:replace="theme"/> </tal:block> <tal:block tal:condition="not:python:here.isChecked(theme,here.getContent('xdata_10'))"> <input tal:attributes="value theme" name="themes" type="checkbox"><span tal:replace="theme"/> </tal:block><br> </tal:block> <br> <input type="submit" value="change"> </form> </body> </html>