Annotation of MPIWGWeb/zpt/changeMPIWGRootForm.zpt, revision 1.2
1.1 dwinter 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:</p>
13: <input tal:attributes="value python:getattr(here,'title','')" name="title"/>
14: <p>Discipline list (seperated by CR)<br>
15: <textarea name="disciplineList" cols=50 rows=20 tal:content="python:getattr(here,'disciplineList','')" ></textarea>
16: </p>
17: <p>Themes List (seperated by CR)<br>
18: <textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
19: </p>
1.2 ! dwinter 20: <p>
! 21: <div class="form-element">
! 22:
! 23: <select name="connection_id">
! 24:
! 25: <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
! 26: <option tal:condition="python:getattr(here,'connection_id','')==id" tal:attributes="value id" selected tal:content="id"/>
! 27: <option tal:condition="not:python:getattr(here,'connection_id','')==id" tal:attributes="value id" tal:content="id"/>
! 28: </tal:block>
! 29: </select>
! 30: </div>
! 31:
1.1 dwinter 32: <input type="submit">
33: </form>
34: </div>
35: </body>
36: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>