File:  [Repository] / MPIWGWeb / zpt / changeMPIWGRootForm.zpt
Revision 1.2.2.1: download - view: text, annotated - select for diffs - revision graph
Mon Sep 8 08:40:05 2008 UTC (15 years, 8 months ago) by casties
Branches: r2
added language switch for Feature

<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>