Sha256: 8f49d28be872df008afbfd6c2547d506699420bb87b49b2aae94c12f79b7c3d0

Contents?: true

Size: 832 Bytes

Versions: 2

Compression:

Stored size: 832 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%%= content_for?(:title) ? yield(:title) : "<%= app_name.underscore.titleize %>" %></title>
    <meta name="description" content="<%%= content_for?(:description) ? yield(:description) : "<%= app_name.underscore.titleize %>" %>">
    <%%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
    <%%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%%= csrf_meta_tags %>
  </head>
  <body>
    <div id="container">
      <header>
        <%%= render 'layouts/navigation' %>
      </header>
      <main role="main">
        <%%= render 'layouts/messages' %>
        <%%= yield %>
      </main>
      <footer>
      </footer>
    </div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_layout-0.1.6 lib/generators/layout/templates/simple-application.html.erb
rails_layout-0.1.4 lib/generators/layout/templates/simple-application.html.erb