Inline default body string.

This commit is contained in:
Sage Vaillancourt 2022-09-22 15:47:51 -04:00
parent beda044294
commit a032d0577f
1 changed files with 9 additions and 10 deletions

View File

@ -47,7 +47,10 @@ class CLForm(Form):
default="I look forward to hearing from you" default="I look forward to hearing from you"
) )
body_string = ( body = TextAreaField(
'Body:',
[validators.Length(min=4, max=9999)],
default=(
"My name is {\\username}. I'm excited for the opportunity to work as " "My name is {\\username}. I'm excited for the opportunity to work as "
"{\\jobandpronoun} with your company. I think my {\\skilltypes} knowledge " "{\\jobandpronoun} with your company. I think my {\\skilltypes} knowledge "
"of {\\myskills} can contribute a lot to your team.\n\n" "of {\\myskills} can contribute a lot to your team.\n\n"
@ -56,10 +59,6 @@ class CLForm(Form):
"Thank you for your consideration." "Thank you for your consideration."
) )
body = TextAreaField(
'Body:',
[validators.Length(min=4, max=9999)],
default=body_string
) )