comparison zpt/edit_MPIWGDisciplinesThemes.zpt @ 0:bca61e893fcc

first checkin of MPIWGWeb r2 branch from CVS into mercurial
author casties
date Thu, 10 Jan 2013 17:52:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bca61e893fcc
1 <html>
2 <body>
3 <h2>Edit Disciplines and themes: <span tal:replace="python:here.WEB_title[0]"/></h2>
4 <h3>Disciplines</h3>
5 <form method="post" action="editMPIWGDisciplinesThemes">
6 <tal:block tal:replace="python:here.getContent('xdata_09')"/>
7
8 <tal:block tal:repeat="discipline here/getDisciplineList">
9 <tal:block tal:condition="python:here.isChecked(discipline,here.getContent('xdata_09'))">
10 <input tal:attributes="value discipline" name="disciplines" type="checkbox" checked><span tal:replace="discipline"/>
11 </tal:block>
12 <tal:block tal:condition="not:python:here.isChecked(discipline,here.getContent('xdata_09'))">
13 <input tal:attributes="value discipline" name="disciplines" type="checkbox"><span tal:replace="discipline"/>
14 </tal:block>
15 </tal:block>
16 <br>
17 <h3>Themes</h3>
18 <tal:block tal:repeat="theme here/getThemeList">
19 <tal:block tal:condition="python:here.isChecked(theme,here.getContent('xdata_10'))">
20 <input tal:attributes="value theme" name="themes" type="checkbox" checked><span tal:replace="theme"/>
21 </tal:block>
22 <tal:block tal:condition="not:python:here.isChecked(theme,here.getContent('xdata_10'))">
23 <input tal:attributes="value theme" name="themes" type="checkbox"><span tal:replace="theme"/>
24 </tal:block><br>
25 </tal:block>
26 <br>
27 <input type="submit" value="change">
28 </form>
29 </body>
30 </html>