Sha256: 2ca047ab5b6bfbfba5927918674dbde2f8d5d3677c92a0aff3395d7bafe3ae64

Contents?: true

Size: 907 Bytes

Versions: 3

Compression:

Stored size: 907 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  
  <title><%%=h (yield(:title) || t('layout.untitled'))%></title>
  
  <%%= stylesheet_link_tag '<%= file_name %>' %>
  
  <%%= javascript_include_tag '<%= file_name %>' %>
</head>
<body>
    <div id="container">
      <%%- unless flash.empty? -%>
        <div id="notification" class="section">
          <%%- flash.each do |name, message| -%>
            <%%= content_tag :div, message, :id => "flash_#{name}", :class => 'flash' %>
          <%%- end -%>
        </div>
      <%%- end -%>
      <div id="content" class="section">
        <%%= yield %>
      </div>
    </div>
  </div>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jfs-generators-0.2.0 rails_generators/jfs_layout/templates/layout.html.erb
jfs-generators-0.2.4 rails_generators/jfs_layout/templates/layout.html.erb
jfs-generators-0.2.3 rails_generators/jfs_layout/templates/layout.html.erb