Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91153256
notes_field.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 8, 10:45
Size
358 B
Mime Type
text/x-python
Expires
Sun, Nov 10, 10:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22206711
Attached To
R3600 invenio-infoscience
notes_field.py
View Options
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
Log In to Comment