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/templates/ebe.scala.html | 2 +- app/views/templates/main.scala.html | 4 +++- app/views/templates/pepal.scala.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'app/views/templates') diff --git a/app/views/templates/ebe.scala.html b/app/views/templates/ebe.scala.html index dbc1a88..2bab310 100644 --- a/app/views/templates/ebe.scala.html +++ b/app/views/templates/ebe.scala.html @@ -1,3 +1,3 @@ -@(title: String)(content: Html) +@(title: String)(content: Html)(implicit flash: Flash) @templates.main{@fragments.ebeLogo()}{@fragments.ebeSlogan()}(title)(content) diff --git a/app/views/templates/main.scala.html b/app/views/templates/main.scala.html index dadfc03..278b205 100644 --- a/app/views/templates/main.scala.html +++ b/app/views/templates/main.scala.html @@ -1,4 +1,4 @@ -@(logo: Html)(slogan: Html)(title: String)(content: Html) +@(logo: Html)(slogan: Html)(title: String)(content: Html)(implicit flash: Flash) @@ -50,6 +50,8 @@ +
+