File:  [Repository] / MPIWGWeb / zpt / changeMPIWGRootForm.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Wed Feb 18 13:01:17 2009 UTC (15 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

<html>
<head>
   <title>The title</title>
</head>
<body>

<div>

<h1>Change MPIWGRoot</h1>
<form method="post" action="changeMPIWGRoot">

<p>Title:<br/>
<input tal:attributes="value python:getattr(here,'title','')" name="title"/>
</p>
<p>Default language:<br/>
<input tal:attributes="value python:getattr(here,'lang','en')" name="lang"/>
</p>
<p>Discipline list (seperated by CR)<br>
<textarea name="disciplineList" cols=50 rows=20  tal:content="python:getattr(here,'disciplineList','')" ></textarea>
</p>
<p>Themes List (seperated by CR)<br>
<textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
</p>
<p>
<div class="form-element">
    
    <select name="connection_id">
     
     <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
                <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>
                <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>
            </tal:block>
    </select>
    </div>

<input type="submit">
</form>
</div>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>