Sha256: 2f50dfcd9c1ef67848af854a680f24787baf376c53c1bd11299097de0aa2bd7b
Contents?: true
Size: 1.2 KB
Versions: 24
Compression:
Stored size: 1.2 KB
Contents
<!DOCTYPE html> <html> <head> <title><%= camelized %></title> <meta name="viewport" content="width=device-width,initial-scale=1"> <%%= csrf_meta_tags %> <%%= csp_meta_tag %> <%- if options[:skip_hotwire] || options[:skip_javascript] -%> <%%= stylesheet_link_tag "application" %> <%- else -%> <%%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> <%- end -%> <%%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %> <style> .notice { color: green; } .alert { color: red; } table { border-collapse: collapse; } th, td { border: 1px solid #ccc; padding: 5px; } .admin { background-color: pink; } .user { background-color: lightgreen; } .not-signed-in { background-color: lightgrey; } .admin, .user, .not-signed-in { text-align: center; } </style> </head> <body> <header> <%%= render 'layouts/navbar' %> <hr /> <%%= render 'layouts/alerts' %> </header> <main> <%%= yield %> </main> <footer> <%%= render 'layouts/footer' %> </footer> </body> </html>
Version data entries
24 entries across 24 versions & 1 rubygems