[Zope3-checkins] SVN: zope.formlib/trunk/src/zope/formlib/ the field descriptions should be hidden by default and not push the input

Benji York benji at zope.com
Sun Oct 2 09:31:57 EDT 2005


Log message for revision 38716:
  the field descriptions should be hidden by default and not push the input
  controls down on the page
  

Changed:
  U   zope.formlib/trunk/src/zope/formlib/pageform.pt
  U   zope.formlib/trunk/src/zope/formlib/subpageform.pt

-=-
Modified: zope.formlib/trunk/src/zope/formlib/pageform.pt
===================================================================
--- zope.formlib/trunk/src/zope/formlib/pageform.pt	2005-10-02 13:09:02 UTC (rev 38715)
+++ zope.formlib/trunk/src/zope/formlib/pageform.pt	2005-10-02 13:31:56 UTC (rev 38716)
@@ -97,6 +97,7 @@
                tal:condition="hint"
                tal:attributes="id string:field-help-for-${widget/name}"
                onclick="this.style.visibility='hidden';"
+               style="visibility: hidden; position: absolute;"
                >Title of this content object.</div>
           <div class="widget" tal:content="structure widget">
           <input type="text" /></div>

Modified: zope.formlib/trunk/src/zope/formlib/subpageform.pt
===================================================================
--- zope.formlib/trunk/src/zope/formlib/subpageform.pt	2005-10-02 13:09:02 UTC (rev 38715)
+++ zope.formlib/trunk/src/zope/formlib/subpageform.pt	2005-10-02 13:31:56 UTC (rev 38716)
@@ -85,7 +85,8 @@
                tal:condition="hint"
                tal:attributes="id string:field-help-for-${widget/name}"
                onclick="this.style.visibility='hidden';"
-               i18n:translate="" 
+               i18n:translate=""
+               style="visibility: hidden; position: absolute;"
                >Title of this content object.</div>
           <div class="widget" tal:content="structure widget">
           <input type="text" /></div>



More information about the Zope3-Checkins mailing list