1: <html>
2: <head>
3: <title>The title</title>
4: </head>
5: <body>
6:
7: <div>
8:
9: <h1>Change MPIWGRoot</h1>
10: <form method="post" action="changeMPIWGRoot">
11:
12: <p>Title:<br/>
13: <input tal:attributes="value python:getattr(here,'title','')" name="title"/>
14: </p>
15: <p>Default language:<br/>
16: <input tal:attributes="value python:getattr(here,'lang','en')" name="lang"/>
17: </p>
18: <p>Discipline list (seperated by CR)<br>
19: <textarea name="disciplineList" cols=50 rows=20 tal:content="python:getattr(here,'disciplineList','')" ></textarea>
20: </p>
21: <p>Themes List (seperated by CR)<br>
22: <textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
23: </p>
24: <p>
25: <div class="form-element">
26:
27: <select name="connection_id">
28:
29: <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
30: <option tal:condition="python:getattr(here,'connection_id','')==id" tal:attributes="value id" selected tal:content="id"/>
31: <option tal:condition="not:python:getattr(here,'connection_id','')==id" tal:attributes="value id" tal:content="id"/>
32: </tal:block>
33: </select>
34: </div>
35:
36: <p class="form-label">Autocommit</p>
37: <p>
38: <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit"/> autocommit (don't use when you want transactions)
39: </p>
40: <input type="submit">
41: </form>
42: </div>
43: </body>
44: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>