Annotation of ZSQLExtend/zpt/changeZSQLBibliographyForm.zpt, revision 1.2
1.1 dwinter 1: <html>
2: <body>
3: <h2>Change ZSQL Bibliography</h2>
4: <form method="post" action="changeZSQLBibliography">
5: Name of the Bibliography Table:<input name="tableName" size="100" tal:attributes="value python:here.tableName"><br/>
6: <table>
7: <tr>
8: <td align="left" valign="top">
9: <div class="form-label">
10: Label (for linking):
11: </div>
12: </td>
13: <td align="left" valign="top">
14: <input type="text" name="label" size="80" tal:attributes="value here/getLabel" />
15: </td>
16: </tr>
17: <tr>
18: <td align="left" valign="top">
19: <div class="form-label">
20: Description:
21: </div>
22: </td>
23: <td align="left" valign="top">
24: <textarea name="description" cols=50 rows=20 tal:content="here/getDescription"></textarea>
25: </td>
26: </tr>
1.2 ! dwinter 27: <tr>
! 28: <td align="left" valign="top">
! 29: <div class="form-label">
! 30: Connection Id
! 31: </div>
! 32: </td>
! 33: <td align="left" valign="top">
! 34: <div class="form-element">
! 35:
! 36: <select name="connection_id">
! 37:
! 38: <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
! 39: <option tal:condition="python:getattr(here,'connection_id','')==id" tal:attributes="value id" selected tal:content="id"/>
! 40: <option tal:condition="not:python:getattr(here,'connection_id','')==id" tal:attributes="value id" tal:content="id"/>
! 41: </tal:block>
! 42: </select>
! 43: </div>
! 44: </td>
! 45: </tr>
! 46:
! 47: <tr>
1.1 dwinter 48: </table>
49: <input type="submit">
50: </form>
51: </body>
52: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>