annotate zpt/editZDBInterfaceFolder.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
1 <div tal:replace="structure here/manage_page_header">Header</div>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
2 <h2>Edit a ZDB interface folder</h2>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
3 <form method="post" action="manage_editZDBInterfaceFolder">
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
4 <p class="form-label">Title</p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
5 <p class="form-element"><input size="80" name="title" tal:attributes="value here/title"/></p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
6 <p class="form-label">Connection ID</p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
7 <pre tal:content="python:repr(here.getConnectionIDs())"/>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
8 <p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
9 <select name="connection_id">
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
10 <tal:block tal:repeat="id python:[i[0] for i in here.getConnectionIDs()]">
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
11 <option tal:condition="python:getattr(here,'connection_id','')==id" tal:attributes="value id" selected tal:content="id"/>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
12 <option tal:condition="not:python:getattr(here,'connection_id','')==id" tal:attributes="value id" tal:content="id"/>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
13 </tal:block>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
14 </select>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
15 </p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
16 <p><input type="submit" value="Change" /></p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
17 </form>