changeset 2426:eca842df2ec4

removes wrong method of trying to style required fields
author sharky93 <rishabhr123@gmail.com>
date Tue, 27 Aug 2013 23:31:43 +0530
parents 4153b0117969
children 6c1abbadf502
files MoinMoin/util/forms.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/util/forms.py	Tue Aug 27 22:16:59 2013 +0530
+++ b/MoinMoin/util/forms.py	Tue Aug 27 23:31:43 2013 +0530
@@ -38,7 +38,6 @@
 
 def required_filter(tagname, attributes, contents, context, bind):
     if bind is not None and not bind.optional:
-        attributes[u'class'] = u'required'
         if tagname == 'input':
             attributes[u'required'] = u'required'
     return contents