Page MenuHomec4science

notes_field.py
No OneTemporary

File Metadata

Created
Fri, Nov 8, 10:45

notes_field.py

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

Event Timeline