From de24f5b788c1ae6307eb360877ea3ce61c8f7a6a Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Thu, 5 Feb 2015 20:37:05 +0100 Subject: Implement flash messages --- app/views/fragments/flashBanner.scala.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/views/fragments/flashBanner.scala.html (limited to 'app/views/fragments/flashBanner.scala.html') diff --git a/app/views/fragments/flashBanner.scala.html b/app/views/fragments/flashBanner.scala.html new file mode 100644 index 0000000..41766f9 --- /dev/null +++ b/app/views/fragments/flashBanner.scala.html @@ -0,0 +1,13 @@ +@()(implicit flash:Flash) + +@displayFlash(flashType: String) = { + @for(message <- flash.get(flashType)) { +