def __call__(self, field, **kwargs):
kwargs.setdefault('<STR_LIT:id>', field.id)<EOL>kwargs.setdefault('<STR_LIT:type>', '<STR_LIT:text>')<EOL>kwargs.setdefault('<STR_LIT>', self.data_provide)<EOL>kwargs.setdefault('<STR_LIT>', self.autocomplete_list)<EOL>if '<STR_LIT:value>' not in kwargs:<EOL><INDENT>kwargs['<STR_LIT:value>'] = field._value()<EOL><DEDENT>return HTMLString(u'<STR_LIT>' % html_params(name=field.name,<EOL>**kwargs))<EOL>
Define special attributes.