Mercurial > hg > ChinaGisRestApi
diff zpt/editRestDbInterface.zpt @ 4:e3ee1f358fe6
new version that doesn't use ZSQLExtend but the database connection more directly.
new templates to go with that (returned data structures are different)
author | casties |
---|---|
date | Mon, 07 Jun 2010 14:02:17 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/editRestDbInterface.zpt Mon Jun 07 14:02:17 2010 +0000 @@ -0,0 +1,9 @@ + <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 class="form-element"><input size="80" name="connection_id" tal:attributes="value here/connection_id"/></p> + <p><input type="submit" value="Change" /></p> + </form>