Inline default body string.
This commit is contained in:
parent
beda044294
commit
a032d0577f
19
writing.py
19
writing.py
|
@ -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."
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue