<s> from django . forms . widgets import * <EOL> class Html5EmailInput ( TextInput ) : <EOL> """<STR_LIT>""" <EOL> input_type = '<STR_LIT:email>' <EOL> class Html5NumberInput ( TextInput ) : <EOL> """<STR_LIT>""" <EOL> input_type = '<STR_LIT>' <EOL> class Html5DateInput ( DateInput ) : <EOL> """<STR_LIT>""" <EOL> input_type = '<STR_LIT:date>' <EOL> class Html5DateTimeInput ( DateTimeInput ) : <EOL> """<STR_LIT>""" <EOL> input_type = '<STR_LIT>' <EOL> class Html5TimeInput ( TimeInput ) : <EOL> """<STR_LIT>""" <EOL> input_type = '<STR_LIT:time>' <EOL> class JQueryColorPicker ( TextInput ) : <EOL> """<STR_LIT>""" <EOL> class Media : <EOL> css = { <EOL> '<STR_LIT:all>' : ( '<STR_LIT>' , ) <EOL> } <EOL> js = ( '<STR_LIT>' , '<STR_LIT>' , ) <EOL> def render ( self , name , value , attrs = None ) : <EOL> attrs = attrs or { } <EOL> attrs [ '<STR_LIT:class>' ] = '<STR_LIT>' + attrs . get ( '<STR_LIT:class>' , '<STR_LIT>' ) <EOL> return super ( JQueryColorPicker , self ) . render ( name , value , attrs ) </s>
