<s> from __future__ import unicode_literals <EOL> from django . forms import widgets <EOL> from django . utils . safestring import mark_safe <EOL> class TelephoneInput ( widgets . TextInput ) : <EOL> input_type = '<STR_LIT>' <EOL> class SearchInput ( widgets . TextInput ) : <EOL> input_type = '<STR_LIT>' <EOL> class DateInput ( widgets . TextInput ) : <EOL> input_type = '<STR_LIT:date>' <EOL> class TimeInput ( widgets . TextInput ) : <EOL> input_type = '<STR_LIT:time>' <EOL> class ReCaptchaWidget ( widgets . Widget ) : <EOL> def render ( self , name , value , attrs = None ) : <EOL> template = '<STR_LIT>' <EOL> return mark_safe ( template % { '<STR_LIT>' : '<STR_LIT>' % name } ) <EOL> def value_from_datadict ( self , data , files , name ) : <EOL> return ( data . get ( '<STR_LIT>' , None ) , ) </s>
