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

Version Path
rails_app_generator-0.3.6 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.3.5 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.3.4 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.3.3 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.3.2 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.3.1 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.3.0 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.43 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.42 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.41 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.40 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.39 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.38 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.37 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.36 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.35 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.34 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.33 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.32 after_templates/addons/pretender/app/views/layouts/application.html.erb
rails_app_generator-0.2.31 after_templates/addons/pretender/app/views/layouts/application.html.erb