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,19 +47,18 @@ class CLForm(Form):
default="I look forward to hearing from you"
)
body_string = (
"My name is {\\username}. I'm excited for the opportunity to work as "
"{\\jobandpronoun} with your company. I think my {\\skilltypes} knowledge "
"of {\\myskills} can contribute a lot to your team.\n\n"
"I am passionate about what I do, and I think we would work well together.\n\n"
"Thank you for your consideration."
)
body = TextAreaField(
'Body:',
[validators.Length(min=4, max=9999)],
default=body_string
default=(
"My name is {\\username}. I'm excited for the opportunity to work as "
"{\\jobandpronoun} with your company. I think my {\\skilltypes} knowledge "
"of {\\myskills} can contribute a lot to your team.\n\n"
"I am passionate about what I do, and I think we would work well together.\n\n"
"Thank you for your consideration."
)
)