Mercurial > hg > ZDBInterface
view zpt/editZDBInterfaceFolder.zpt @ 16:5b99c04c567c
fix for psycopg 2.4 Column type.
author | casties |
---|---|
date | Wed, 22 Feb 2012 18:53:05 +0100 |
parents | 87087f4f4059 |
children | 0e87d5d80709 |
line wrap: on
line source
<div tal:replace="structure here/manage_page_header">Header</div> <h2>Edit a ZDB interface folder</h2> <form method="post" action="manage_editZDBInterfaceFolder"> <p class="form-label">Title</p> <p class="form-element"><input size="80" name="title" tal:attributes="value here/title"/></p> <p class="form-label">Connection ID</p> <p> <select name="connection_id"> <tal:block tal:repeat="id here/getConnectionIDs"> <option tal:condition="python:getattr(here,'connection_id','')==id[1]" tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/> <option tal:condition="not:python:getattr(here,'connection_id','')==id[1]" tal:attributes="value python:id[1]" tal:content="python:id[0]"/> </tal:block> </select> </p> <p class="form-label">Autocommit</p> <p> <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit"/> autocommit (don't use when you want transactions) </p> <p class="form-label">Default search mode</p> <p> <select name="default_search"> <option tal:repeat="ds python:['bw','ct','eq']" tal:attributes="value ds; selected python:getattr(here,'default_search','')==ds" tal:content="ds"/> </select> </p> <p><input type="submit" value="Change" /></p> </form>