aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-10-21 15:15:37 +0200
committerWilly Micieli <micieli@laposte.net>2019-10-21 15:15:37 +0200
commita26e1f3612dc97c2443df1f75849c1a2caff1fa8 (patch)
tree22689b6fcf4ade215105f0b150fdcc00c6b133db
parent42ae991f9dbffd9178c9f2494ad87002c973cf6f (diff)
downloadimperium-a26e1f3612dc97c2443df1f75849c1a2caff1fa8.zip
imperium-a26e1f3612dc97c2443df1f75849c1a2caff1fa8.tar.gz
clean display flash mesage code
-rw-r--r--imperium/Flash/Flash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/imperium/Flash/Flash.php b/imperium/Flash/Flash.php
index a6efab4..8948344 100644
--- a/imperium/Flash/Flash.php
+++ b/imperium/Flash/Flash.php
@@ -130,7 +130,7 @@
if(def($message))
{
- return $success ? '<div class="row"><div class="'.$column_class.'"><div class="'.$success_class.'" role="alert"><div class="flex"><p class="font-bold">' . $message . '</p></div></div></div></div>' : '<div class="row"><div class="'.$column_class.'"><div class="'.$failure_class.'" role="alert"><div class="flex"><p class="font-bold">' . $message . '</p></div></div></div></div>';
+ return $success ? '<div class="row"><div class="'.$column_class.'"><div class="'.$success_class.'" role="alert"><div class="flex"><div>' . $message . '</div></div></div></div></div>' : '<div class="row"><div class="'.$column_class.'"><div class="'.$failure_class.'" role="alert"><div class="flex"><div>' . $message . '</div></div></div></div></div>';
}
return '';