atst/atst/forms/internal_comment.py
2019-03-06 15:36:53 -05:00

15 lines
420 B
Python

from wtforms.fields import TextAreaField
from wtforms.validators import InputRequired
from .forms import BaseForm
from atst.utils.localization import translate
class InternalCommentForm(BaseForm):
text = TextAreaField(
translate("forms.internal_comment.text_label"),
default="",
description=translate("forms.internal_comment.text_description"),
validators=[InputRequired()],
)