Sha256: fecd349c847f868d20ce182e4a4384ea3a0e03c50686f367fc9a81cdc9f53c5d

Contents?: true

Size: 1.05 KB

Versions: 22

Compression:

Stored size: 1.05 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;
    }
    .has-role {
      color: green;
    }
    .has-no-role {
      color: grey;
    }
    </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

22 entries across 22 versions & 1 rubygems

Version Path
rails_app_generator-0.2.30 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.29 after_templates/addons/rolify/app/views/layouts/application.html.erb