You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
667 B

1 year ago
1 year ago
1 year ago
1 year ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Basic Rails</title>
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <%= csrf_meta_tags %>
  7. <%= csp_meta_tag %>
  8. <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
  9. <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
  10. <%= javascript_importmap_tags %>
  11. </head>
  12. <body class='bg-yellow-50'>
  13. <%= render 'layouts/navbar' %>
  14. <div class='m-5'>
  15. <p class="notice bg-green-300"><%= notice %></p>
  16. <p class="alert bg-red-600"><%= alert %></p>
  17. </div>
  18. <div class="m-2">
  19. <%= yield %>
  20. </div>
  21. </body>
  22. </html>