From e3ae4bc243b0b74b8eff292c3dd61475a477034c Mon Sep 17 00:00:00 2001
From: Kohei Tamura <ktamura.biz.80@gmail.com>
Date: Fri, 8 Sep 2017 16:40:03 +0900
Subject: [PATCH] Add tags to show messages on mail header injection page

---
 src/main/resources/templates/mailheaderinjection.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/resources/templates/mailheaderinjection.html b/src/main/resources/templates/mailheaderinjection.html
index f049af4..462f48c 100644
--- a/src/main/resources/templates/mailheaderinjection.html
+++ b/src/main/resources/templates/mailheaderinjection.html
@@ -33,6 +33,10 @@
 				</tr>
 			</table>
 		</form>
+        <p th:text="${msg}" />
+        <div th:if="${errmsg != null}" class="alert alert-danger" role="alert">
+            <span class="glyphicon glyphicon-warning-sign" th:text="${errmsg}"></span>
+        </div>
 		<div class="alert alert-info" role="alert">
 			<span class="glyphicon glyphicon-info-sign" th:utext="#{msg.note.mail.header.injection}"></span>
 		</div>