Roundup Tracker - Issues

Message6706

Author garth
Recipients garth
Date 2019-10-07.04:25:30
Message-id <1570422330.79.0.351972225117.issue2551065@roundup.psfhosted.org>
In-reply-to
Using tal:attributes with tal:replace="structure context/submit" 
doesn't actually add attributes to the resulting submit button.  This 
makes it impossible to style the button by adding a class attribute.  
The reason this happens is that context/submit returns two or three 
hidden inputs before the submit input.  The attributes assigned by 
tal:attributes get attached to the first (hidden) input instead of the 
submit input.  The fix is to make the submit input get returned first 
in the HTMLClass.submit and _HTMLItem.submit methods in templating.py.
History
Date User Action Args
2019-10-07 04:25:30garthsetrecipients: + garth
2019-10-07 04:25:30garthsetmessageid: <1570422330.79.0.351972225117.issue2551065@roundup.psfhosted.org>
2019-10-07 04:25:30garthlinkissue2551065 messages
2019-10-07 04:25:30garthcreate