annotate zpt/editZDBInterfaceFolder.zpt @ 8:17b19345d011

added autocommit option.
author casties
date Thu, 17 Feb 2011 19:25:16 +0100
parents d70e57193731
children 87087f4f4059
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 <p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
8 <select name="connection_id">
8
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
9 <tal:block tal:repeat="id here/getConnectionIDs">
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
10 <option tal:condition="python:getattr(here,'connection_id','')==id[1]" tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
11 <option tal:condition="not:python:getattr(here,'connection_id','')==id[1]" tal:attributes="value python:id[1]" tal:content="python:id[0]"/>
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
12 </tal:block>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
13 </select>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
14 </p>
8
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
15 <p class="form-label">Autocommit</p>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
16 <p>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
17 <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit"/> autocommit (don't use when you want transactions)
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
18 </p>
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
19 <p><input type="submit" value="Change" /></p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
20 </form>