From: Hanno S. <svn...@pl...> - 2008-07-09 23:21:44
|
Author: hannosch Date: Wed Jul 9 23:21:53 2008 New Revision: 21540 Modified: Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt Products.CMFPlone/trunk/Products/CMFPlone/skins/plone_login/login_form.cpt Log: Avoid an empty div in login_form. This closes #8192. Modified: Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt ============================================================================== --- Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt (original) +++ Products.CMFPlone/trunk/Products/CMFPlone/HISTORY.txt Wed Jul 9 23:21:53 2008 @@ -4,6 +4,10 @@ Plone 4.0 - UNRELEASED + - Avoid an empty div in login_form. This closes + http://dev.plone.org/plone/ticket/8192. + [hannosch] + - Avoid an empty dd in recently modified.pt. This closes http://dev.plone.org/plone/ticket/8186. [hannosch] Modified: Products.CMFPlone/trunk/Products/CMFPlone/skins/plone_login/login_form.cpt ============================================================================== --- Products.CMFPlone/trunk/Products/CMFPlone/skins/plone_login/login_form.cpt (original) +++ Products.CMFPlone/trunk/Products/CMFPlone/skins/plone_login/login_form.cpt Wed Jul 9 23:21:53 2008 @@ -106,7 +106,8 @@ <label i18n:translate="label_login_name" tal:attributes="for ac_name">Login Name</label> - <div tal:content="error">Validation error output</div> + <div tal:condition="error" + tal:content="error">Validation error output</div> <input type="text" size="15" @@ -124,7 +125,8 @@ <label i18n:translate="label_password" tal:attributes="for ac_password">Password</label> - <div tal:content="error">Validation error output</div> + <div tal:condition="error" + tal:content="error">Validation error output</div> <input type="password" size="15" |