Mercurial > hg > ZDBInterface
view zpt/editRestDbInterface.zpt @ 3:d70e57193731
new executeZSQL method that returns Zope Results.
new ZDBInterfaceFolder that doesn't do much yet.
author | casties |
---|---|
date | Mon, 14 Feb 2011 23:20:43 +0100 |
parents | |
children | 17b19345d011 |
line wrap: on
line source
<div tal:replace="structure here/manage_page_header">Header</div> <h2>Edit a RESTdb</h2> <form method="post" action="manage_editRestDbInterface"> <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 python:[i[0] for i in here.getConnectionIDs()]"> <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> </p> <p><input type="submit" value="Change" /></p> </form>