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

- old
+ new

@@ -1,19 +1,21 @@ <!DOCTYPE html> <html> -<head> - <title>Panoptic</title> - <%= csrf_meta_tags %> - <%= csp_meta_tag %> + <head> + <title>Panoptic</title> + <%= 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 class="pb-4"> - <%= render "shared/navbar" %> + <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 class="pb-4"> - <main class="container mt-2"> - <%= content_for?(:content) ? yield(:content) : yield %> - </main> + <%= render "shared/navbar" %> - <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> + <main class="container mt-2"> + <%= render "shared/flashes" %> + <%= 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>