do that format thing
This commit is contained in:
parent
94670b5ecf
commit
3e38b5ff1a
@ -7,7 +7,10 @@ from .validators import Alphabet, PhoneNumber
|
|||||||
|
|
||||||
|
|
||||||
class CCPOReviewForm(ValidatedForm):
|
class CCPOReviewForm(ValidatedForm):
|
||||||
comment = TextAreaField("Instructions or comments", description='Provide instructions or notes for additional information that is necessary to approve the request here. The requestor may then re-submit the updated request or initiate contact outside of AT-AT if further discussion is required. <strong>This message will be shared with the person making the JEDI request.</strong>.')
|
comment = TextAreaField(
|
||||||
|
"Instructions or comments",
|
||||||
|
description="Provide instructions or notes for additional information that is necessary to approve the request here. The requestor may then re-submit the updated request or initiate contact outside of AT-AT if further discussion is required. <strong>This message will be shared with the person making the JEDI request.</strong>.",
|
||||||
|
)
|
||||||
fname_mao = StringField(
|
fname_mao = StringField(
|
||||||
"First Name (optional)", validators=[Optional(), Alphabet()]
|
"First Name (optional)", validators=[Optional(), Alphabet()]
|
||||||
)
|
)
|
||||||
|
@ -93,4 +93,6 @@ def create_internal_comment(request_id):
|
|||||||
request = Requests.get(g.current_user, request_id)
|
request = Requests.get(g.current_user, request_id)
|
||||||
Requests.update_internal_comments(g.current_user, request, form.data["text"])
|
Requests.update_internal_comments(g.current_user, request, form.data["text"])
|
||||||
|
|
||||||
return redirect(url_for("requests.approval", request_id=request_id, _anchor='ccpo-notes'))
|
return redirect(
|
||||||
|
url_for("requests.approval", request_id=request_id, _anchor="ccpo-notes")
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user