[Checkins] SVN: z3c.formui/trunk/src/z3c/formui/div-form.pt Make
sure the row div has an id based on the widget id.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Jul 8 03:48:56 EDT 2007
Log message for revision 77605:
Make sure the row div has an id based on the widget id.
Changed:
U z3c.formui/trunk/src/z3c/formui/div-form.pt
-=-
Modified: z3c.formui/trunk/src/z3c/formui/div-form.pt
===================================================================
--- z3c.formui/trunk/src/z3c/formui/div-form.pt 2007-07-08 07:25:56 UTC (rev 77604)
+++ z3c.formui/trunk/src/z3c/formui/div-form.pt 2007-07-08 07:48:54 UTC (rev 77605)
@@ -46,7 +46,9 @@
<div metal:define-slot="main">
<metal:block define-macro="widget-rows">
<tal:block repeat="widget view/widgets/values">
- <div class="row" tal:condition="python:widget.mode != 'hidden'">
+ <div id="" class="row"
+ tal:attributes="id string:${widget/id}-row"
+ tal:condition="python:widget.mode != 'hidden'">
<metal:block define-macro="widget-row">
<div class="label">
<label tal:attributes="for widget/id">
@@ -60,7 +62,7 @@
<input type="text" size="24" value="" />
</div>
<div class="error"
- tal:condition="widget/error">
+ tal:condition="widget/error">
<span tal:replace="structure widget/error/render">error</span>
</div>
</metal:block>
More information about the Checkins
mailing list