view zpt/root/manage_change.zpt @ 159:ee79f6ba8d01

clean up staff editing and some zpt forms.
author casties
date Thu, 06 Jun 2013 15:34:20 +0200
parents zpt/changeMPIWGRootForm.zpt@bbad6a092861
children
line wrap: on
line source

<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>Cone Service URL:<br/>
<input size="100" tal:attributes="value python:getattr(here,'coneServiceURL','http://virtuoso.mpiwg-berlin.mpg.de:8080/MetaDataManagerRestlet/cone/')" name="coneServiceURL"/>
</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>

    <p class="form-label">Autocommit</p>
    <p>
      <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit | nothing"/> autocommit (don't use when you want transactions)
    </p>
<input type="submit">
</form>
</div>
</body>
</html>