From 66ab56e518c9a75f16da5dc15a33de60b94ff70b Mon Sep 17 00:00:00 2001 From: dandds Date: Mon, 17 Sep 2018 09:15:58 -0400 Subject: [PATCH] use callable form of alert macro for request changes alert --- templates/requests/comment.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/requests/comment.html b/templates/requests/comment.html index 9d76e3dd..2558ff90 100644 --- a/templates/requests/comment.html +++ b/templates/requests/comment.html @@ -1,5 +1,9 @@ {% from "components/alert.html" import Alert %} -{{ Alert('Changes Requested', - message="

CCPO has requested changes to your submission with the following notes:
" + review_comment + "
Please contact info@jedi.cloud or 123-123-4567 for further discussion.

", - level='warning') }} +{% call Alert('Changes Requested', level='warning') %} +

CCPO has requested changes to your submission with the following notes: +
+ {{ review_comment }} +
+ Please contact info@jedi.cloud or 123-123-4567 for further discussion.

+{% endcall %}