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.3.6 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.3.5 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.3.4 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.3.3 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.3.2 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.3.1 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.3.0 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.43 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.42 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.41 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.40 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.39 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.38 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.37 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.36 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.35 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.34 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.33 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.32 after_templates/addons/rolify/app/views/layouts/application.html.erb
rails_app_generator-0.2.31 after_templates/addons/rolify/app/views/layouts/application.html.erb