Sha256: f2e74d4f2ca14702f9ffc209c81f1334c344c1410e6c13a9cd4a7af93a87a442

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

<!DOCTYPE html>

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

  <!-- HTML5 shim, for IE6-8 support of HTML elements -->
  <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
  <![endif]-->

  <%= stylesheet_link_tag 'application', :media => 'all' %>
  
  <!-- fav and touch icons -->
  <link href="images/favicon.ico" rel="shortcut icon">
  <link href="images/apple-touch-icon.png" rel="apple-touch-icon">
  <link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
  <link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
  
  <%= yield :head %>
</head>
<body>
  

<div class="container">
  <%= render 'layouts/nav' %>
  
  <h1><%= @title %></h1>

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

  <div class="actions btn-toolbar">
    <div class="pull-left">
      <%= yield :tools %>
    </div>
    <div class="pull-right">
      <%= yield :actions %>
    </div>
  </div>

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

<footer>
  <p>&copy; Company <%= Time.now.year %></p>
</footer>
  
<!-- Javascript placed at the end of the document so the pages load faster -->
<%= javascript_include_tag 'application' %>
<%= javascript_tag yield(:javascripts) if content_for?(:javascripts) %>

</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry_crud-1.5.0 lib/generators/dry_crud/templates/app/views/layouts/crud.html.erb