diff --git a/core/Elements/View.class.php b/core/Elements/View.class.php index 9166866..3fec10d 100644 --- a/core/Elements/View.class.php +++ b/core/Elements/View.class.php @@ -141,16 +141,12 @@ abstract class View extends StaticView { } protected function createJumbotron(string $content, bool $fluid=false, $class=""): string { - $jumbotronClass = "jumbotron" . ($fluid ? "-fluid" : ""); + $jumbotronClass = "jumbotron" . ($fluid ? " jumbotron-fluid" : ""); if (!empty($class)) $jumbotronClass .= " $class"; - return " -
-
-
- $content -
-
+ return + "
+ $content
"; }