Inline default body string.
This commit is contained in:
parent
beda044294
commit
a032d0577f
|
@ -47,7 +47,10 @@ class CLForm(Form):
|
|||
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 "
|
||||
"{\\jobandpronoun} with your company. I think my {\\skilltypes} knowledge "
|
||||
"of {\\myskills} can contribute a lot to your team.\n\n"
|
||||
|
@ -56,10 +59,6 @@ class CLForm(Form):
|
|||
|
||||
"Thank you for your consideration."
|
||||
)
|
||||
body = TextAreaField(
|
||||
'Body:',
|
||||
[validators.Length(min=4, max=9999)],
|
||||
default=body_string
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue