Page MenuHomec4science

abstract_field.py
No OneTemporary

File Metadata

Created
Fri, Nov 8, 15:39

abstract_field.py

from wtforms import TextAreaField
__all__ = ['AbstractField']
class AbstractField(TextAreaField):
def __init__(self, **kwargs):
self._icon_html = '<i class="icon-pencil"></i>'
super(AbstractField, self).__init__(**kwargs)
def pre_validate(self):
return dict(error=0, error_message='')
def autocomplete(self):
return []

Event Timeline