do that format thing

This commit is contained in:
Andrew Croce 2018-09-13 13:54:40 -04:00 committed by dandds
parent 94670b5ecf
commit 3e38b5ff1a
2 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,10 @@ from .validators import Alphabet, PhoneNumber
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(
"First Name (optional)", validators=[Optional(), Alphabet()]
)

View File

@ -93,4 +93,6 @@ def create_internal_comment(request_id):
request = Requests.get(g.current_user, request_id)
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")
)