@()(implicit flash:Flash) @displayFlash(flashType: String) = { @for(message <- flash.get(flashType)) {
@message
} } @for(flashType <- List("success", "info", "warning", "error")) { @displayFlash(flashType) }