[Checkins] SVN: z3c.form/branches/fieldsandcontentproviders/src/z3c/form/tests/simple_edit_with_providers.pt templates that knows about content providers
Godefroid Chapelle
gotcha at bubblenet.be
Fri Mar 12 08:01:18 EST 2010
Log message for revision 109925:
templates that knows about content providers
Changed:
A z3c.form/branches/fieldsandcontentproviders/src/z3c/form/tests/simple_edit_with_providers.pt
-=-
Added: z3c.form/branches/fieldsandcontentproviders/src/z3c/form/tests/simple_edit_with_providers.pt
===================================================================
--- z3c.form/branches/fieldsandcontentproviders/src/z3c/form/tests/simple_edit_with_providers.pt (rev 0)
+++ z3c.form/branches/fieldsandcontentproviders/src/z3c/form/tests/simple_edit_with_providers.pt 2010-03-12 13:01:18 UTC (rev 109925)
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:tal="http://xml.zope.org/namespaces/tal">
+ <body>
+ <i tal:condition="view/status" tal:content="view/status" />
+ <ul tal:condition="view/widgets/errors">
+ <li tal:repeat="error view/widgets/errors">
+ <tal:block condition="error/widget">
+ <tal:block replace="error/widget/label" />:
+ </tal:block>
+ <tal:block replace="structure error/render" />
+ </li>
+ </ul>
+ <form action=".">
+ <div class="row" tal:repeat="widget view/widgets/values">
+ <b tal:condition="widget/error | nothing"
+ tal:content="structure widget/error/render"
+ /><label tal:condition="widget/id | nothing"
+ for=""
+ tal:attributes="for widget/id"
+ tal:content="widget/label" />
+ <input type="text" tal:replace="structure widget/render" />
+ </div>
+ <div class="action" tal:repeat="action view/actions/values">
+ <input type="submit" tal:replace="structure action/render" />
+ </div>
+ </form>
+ </body>
+</html>
More information about the checkins
mailing list