app/views/layouts/panoptic/application.html.erb in panoptic-0.2.0 vs app/views/layouts/panoptic/application.html.erb in panoptic-0.3.0

- old
+ new

@@ -5,14 +5,14 @@ <%= csrf_meta_tags %> <%= csp_meta_tag %> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> </head> -<body> +<body class="pb-4"> <%= render "shared/navbar" %> <main class="container mt-2"> - <%= yield %> + <%= content_for?(:content) ? yield(:content) : yield %> </main> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script> </body> </html>