[Checkins] SVN: z3c.formui/trunk/src/z3c/formui/ Fix incorrectly
named HTML element.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Jun 27 09:20:41 EDT 2007
Log message for revision 77127:
Fix incorrectly named HTML element.
Changed:
U z3c.formui/trunk/src/z3c/formui/div-form.pt
U z3c.formui/trunk/src/z3c/formui/table-form.pt
-=-
Modified: z3c.formui/trunk/src/z3c/formui/div-form.pt
===================================================================
--- z3c.formui/trunk/src/z3c/formui/div-form.pt 2007-06-27 12:59:31 UTC (rev 77126)
+++ z3c.formui/trunk/src/z3c/formui/div-form.pt 2007-06-27 13:20:40 UTC (rev 77127)
@@ -8,6 +8,12 @@
name view/name;
id view/id">
<div class="viewspace" metal:define-slot="viewspace">
+ <metal:block define-macro="label">
+ <h1 tal:condition="view/label|nothing"
+ tal:content="view/label">
+ Form Label
+ </h1>
+ </metal:block>
<metal:block define-macro="header">
<div class="status"
tal:define="status view/status"
@@ -56,13 +62,13 @@
</tal:block>
</metal:block>
<metal:block define-macro="groups">
- <fieldgroup tal:condition="view/groups|nothing"
+ <fieldset tal:condition="view/groups|nothing"
tal:repeat="view view/groups">
<legend tal:condition="view/label"
tal:content="view/label">Label</legend>
<div metal:use-macro="template/macros/header" />
<div metal:use-macro="template/macros/widget-rows" />
- </fieldgroup>
+ </fieldset>
</metal:block>
</div>
<metal:block define-slot="above-buttons">
Modified: z3c.formui/trunk/src/z3c/formui/table-form.pt
===================================================================
--- z3c.formui/trunk/src/z3c/formui/table-form.pt 2007-06-27 12:59:31 UTC (rev 77126)
+++ z3c.formui/trunk/src/z3c/formui/table-form.pt 2007-06-27 13:20:40 UTC (rev 77127)
@@ -8,6 +8,12 @@
name view/name;
id view/id">
<div class="viewspace" metal:define-slot="viewspace">
+ <metal:block define-macro="label">
+ <h1 tal:condition="view/label|nothing"
+ tal:content="view/label">
+ Form Label
+ </h1>
+ </metal:block>
<metal:block define-macro="header">
<div class="status"
tal:define="status view/status"
@@ -70,13 +76,13 @@
</tr>
</table>
<metal:block define-macro="groups">
- <fieldgroup tal:condition="view/groups|nothing"
+ <fieldset tal:condition="view/groups|nothing"
tal:repeat="view view/groups">
<legend tal:condition="view/label"
tal:content="view/label">Label</legend>
<div metal:use-macro="template/macros/header" />
<div metal:use-macro="template/macros/formtable" />
- </fieldgroup>
+ </fieldset>
</metal:block>
<tal:block repeat="widget view/widgets/values"
><input type="hidden" value=""
More information about the Checkins
mailing list