[Checkins] SVN: z3ext.layoutform/trunk/ Fixed wrong 'for' in label
tag
Nikolay Kim
fafhrd at datacom.kz
Mon Aug 4 17:01:03 EDT 2008
Log message for revision 89354:
Fixed wrong 'for' in label tag
Changed:
U z3ext.layoutform/trunk/CHANGES.txt
U z3ext.layoutform/trunk/src/z3ext/layoutform/browser/form.pt
U z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formadd.pt
-=-
Modified: z3ext.layoutform/trunk/CHANGES.txt
===================================================================
--- z3ext.layoutform/trunk/CHANGES.txt 2008-08-04 20:33:59 UTC (rev 89353)
+++ z3ext.layoutform/trunk/CHANGES.txt 2008-08-04 21:01:02 UTC (rev 89354)
@@ -2,6 +2,12 @@
CHANGES
=======
+1.1.1 (2008-08-05)
+------------------
+
+- Fixed wrong `for` in label tag
+
+
1.1.0 (2008-07-22)
------------------
Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/form.pt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/form.pt 2008-08-04 20:33:59 UTC (rev 89353)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/form.pt 2008-08-04 21:01:02 UTC (rev 89354)
@@ -33,8 +33,8 @@
<div class="z-form-field" metal:define-macro="widget-row"
tal:define="error widget/error|nothing"
tal:attributes="class python:error and 'z-form-field error' or 'z-form-field'">
- <label for="field.name" title="The widget's hint"
- tal:attributes="for widget/name;
+ <label for="widget.id" title="The widget's hint"
+ tal:attributes="for widget/id;
title widget/field/description"
tal:content="widget/label">The Label</label>
Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formadd.pt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formadd.pt 2008-08-04 20:33:59 UTC (rev 89353)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formadd.pt 2008-08-04 21:01:02 UTC (rev 89354)
@@ -4,7 +4,7 @@
<div class="z-form-controls" metal:define-macro="buttons">
<hr />
<div class="z-form-field" tal:condition="view/nameAllowed|nothing">
- <label i18n:translate="">Content short name</label>
+ <label i18n:translate="" for="add_input_name">Content short name</label>
<div class="z-form-help" i18n:translate="">
Should not contain spaces, underscores or mixed case.
Short Name is part of the item's web address.
More information about the Checkins
mailing list