lib/generators/nice/layout/templates/erb/application.html.erb.tt
<!DOCTYPE html>
<html>
<head>
<title><%%= content_for?(:title) ? yield(:title) : default_title %></title>
<%%= stylesheet_link_tag 'application', media: 'all' %>
<%%= javascript_include_tag 'application' %>
<%%= csrf_meta_tags %>
</head>
<body>
<%% flash.each do |name, message| %>
<div id="<%%= name %>"><%%= message %></div>
<%% end %>
<%%= yield %>
</body>
</html>