Mercurial > hg > ZDBInterface
view zpt/editZDBInterfaceFolder.zpt @ 20:0e87d5d80709
nicer edit pages.
author | casties |
---|---|
date | Fri, 11 Jan 2013 19:14:07 +0100 |
parents | 87087f4f4059 |
children | 7ee835840724 |
line wrap: on
line source
<div tal:replace="structure here/manage_page_header">Header</div> <!-- ZOPE management tabs --> <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing" tal:replace="structure here/manage_tabs">Tabs</h2> <!-- end of ZOPE management tabs --> <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>