aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-10-21 15:23:02 +0200
committerWilly Micieli <micieli@laposte.net>2019-10-21 15:30:06 +0200
commite4a96961679d95e9adeac4f19996177b7f7e4f28 (patch)
tree41e041f9ff3a9105c310ab5e65a89e9eeb77a40e
parenta26e1f3612dc97c2443df1f75849c1a2caff1fa8 (diff)
downloadimperium-e4a96961679d95e9adeac4f19996177b7f7e4f28.zip
imperium-e4a96961679d95e9adeac4f19996177b7f7e4f28.tar.gz
better html interpretation for the validator errors
-rw-r--r--imperium/Flash/Flash.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/imperium/Flash/Flash.php b/imperium/Flash/Flash.php
index 8948344..53d13af 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"><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 $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 class="font-bold">' . $message . '</div></div></div></div></div>';
}
return '';
@@ -177,4 +177,4 @@
}
}
- } \ No newline at end of file
+ }