Sha256: 69c4ff91c669f3351e898cb09f1100581422edc8d67bb83f1e722e7453d51a8d

Contents?: true

Size: 1.99 KB

Versions: 5

Compression:

Stored size: 1.99 KB

Contents

<!DOCTYPE html>

<html lang="en">
<head>
  <meta charset="utf-8" />
  <title><%= strip_tags(@title) %> - MyApp</title>

  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <%= csrf_meta_tag %>

  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
  <![endif]-->

  <%= favicon_link_tag %>
  <%= favicon_link_tag '/apple-touch-icon.png',
                       rel: 'apple-touch-icon',
                       type: 'image/png' %>
  <%= favicon_link_tag '/apple-touch-icon-72x72.png',
                       rel: 'apple-touch-icon',
                       type: 'image/png',
                       sizes: "72x72" %>
  <%= favicon_link_tag '/apple-touch-icon-114x114.png',
                       rel: 'apple-touch-icon',
                       type: 'image/png',
                       sizes: "114x114" %>

  <%= yield :head %>
</head>
<body>

<nav class="navbar navbar-default" role="navigation">
  <%= render 'layouts/nav' %>
</nav>

<div class="container">

  <h1><%= @title %></h1>

  <div class="row actions">
    <div class="col-md-5">
        <%= yield :tools %>
    </div>
    <div class="col-md-7">
      <div class="btn-toolbar pull-right">
        <%= yield :actions %>
      </div>
    </div>
  </div>

  <div id="flash">
    <%= render partial: 'layouts/flash', collection: [:notice, :alert], as: :level %>
  </div>

  <div id="content">
    <%= yield %>
  </div>

</div>

<footer>
  <p>&copy; code!z <%= Time.zone.now.year %></p>
</footer>

<!-- Javascript placed at the end of the document so the pages load faster -->
<%= javascript_tag yield(:javascripts) if content_for?(:javascripts) %>

</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dry_crud-5.0.0 app/views/layouts/application.html.erb
dry_crud-3.0.0 app/views/layouts/application.html.erb
dry_crud-2.1.2 app/views/layouts/application.html.erb
dry_crud-2.1.1 app/views/layouts/application.html.erb
dry_crud-2.1.0 app/views/layouts/application.html.erb